API Reference > imodeljs-common > Symbology > ColorDef > getColors getColors MethodStatic Get the r,g,b,t values encoded in an 0xTTBBGGRR value. Values will be integers between 0-255. getColors(tbgr: number): { b: number, g: number, r: number, t: number } Parameter Type Description tbgr number Returns - { b: number, g: number, r: number, t: number } Defined in core/common/src/ColorDef.ts Line 238 Last Updated: 11 June, 2024