Constructor for creating a Color object
The red component of the Color object
The green component of the Color object
The blue component of the Color object
The alpha component of the Color object
Static
Readonly
BLACKStatic
Readonly
BLUEStatic
Readonly
CYANStatic
Readonly
GREENStatic
Readonly
PURPLEStatic
Readonly
REDStatic
Readonly
WHITEStatic properties representing standard colors
Static
Readonly
YELLOWStatic
addStatic
copyStatic
createStatic
divideStatic
divideStatic
lerpStatic
multiplyStatic
multiplyStatic
subtractGenerated using TypeDoc
This class holds a color for computer graphics defined via four components (Red, Green, Blue, Alpha). Alpha is opacity (0.0 = completely transparent, 1.0 = completely opaque). All components range from 0.0 to 1.0 in floating point.