AARRGGBB integers from Roku: Both positive and negative values due to 32-bit overflow
AARRGGBB format is a 32-bit color value (AABBGGRR) used by Roku/BrightScript.
Large values may appear negative in JavaScript due to signed integer overflow.
Parameters
value: unknown
The color value to convert (string, number, or unknown)
Returns undefined|number
RGB number (0xRRGGBB) or undefined if not a valid color
Converts various color formats to a standard RGB number for animation interpolation.
Handles multiple color input formats:
AARRGGBB format is a 32-bit color value (AABBGGRR) used by Roku/BrightScript. Large values may appear negative in JavaScript due to signed integer overflow.