getName MethodStatic

Obtain the name of the color in the ColorByName list associated with the specified 0xTTBBGGRR value, or undefined if no such named color exists.

getName(tbgr: number): undefined | string

@note A handful of colors (like "aqua" and "cyan") have identical tbgr values; in such cases the first match will be returned.

Parameter Type Description
tbgr number  

Returns - undefined | string

Defined in

Last Updated: 16 April, 2024