API Reference > imodeljs-common > Symbology > ColorDef > getName 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 core/common/src/ColorDef.ts Line 350 Last Updated: 11 June, 2024