rgb2bgr MethodStatic

Swap the red and blue values of a 32-bit integer representing a color. Transparency and green are unchanged.

rgb2bgr(val: number): number

Parameter Type Description
val number  

Returns - number

Defined in

Last Updated: 13 June, 2024