API Reference > imodeljs-common > Symbology > RgbColor > constructor constructor Method Constructs from red, green, and blue components. RgbColor(r: number, g: number, b: number): RgbColor Parameter Type Description r number Red g number Green b number Blue Returns - RgbColor Defined in core/common/src/ColorDef.ts Line 672 Last Updated: 13 June, 2024