pixi-jsFunctions
Function: bgr2rgb()
> bgr2rgb(color): number
Defined in: node_modules/pixi.js/lib/scene/container/container-mixins/getGlobalMixin.d.ts:10
Internal
Converts a color from BGR format to RGB format.
Parameters
color
number
The color in BGR format (0xBBGGRR).
Returns
number
The color in RGB format (0xRRGGBB).