computeTbgrFromComponents MethodStatic

Compute the 0xTTBBGGRR value corresponding to the specified Red, Green, Blue, Transparency components. All inputs should be integers between 0-255.

computeTbgrFromComponents(red: number, green: number, blue: number, transparency?: number): number

Parameter Type Description
red number  
green number  
blue number  
transparency number  

Returns - number

Defined in

Last Updated: 14 November, 2024