Color - Color
10/22/22Less than 1 minute
The color module contains a color-related class, most commonly the Color class, which represents ARGB colors.
See also
Table of contents
Classes
Interfaces
Functions
Functions
toColorInt
toColorInt(value: number): number
Convert a numeric value to a packed color integer. Values outside the int32 range are handled so that full ARGB values (for example 0xFFFFFFFF) map to the expected color.
Parameters
value: Numeric value to convert.
Returns
number
Packed color integer.
