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 31
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.