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

Last Updated: 12 June, 2024