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/RgbColor.ts Line 29 Last Updated: 12 June, 2024