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): string | undefined

@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 - string | undefined

Defined in

Last Updated: 28 April, 2026