Creates a color object
The alpha component of the color. Range: 0..1, where 1 is fully opaque and 0 is fully transparent (invisible)
The blue component of the color. Range: 0..1
The green component of the color. Range: 0..1
The red component of the color. Range: 0..1
Returns true if the colors are equal
Creates a Color4 instance from any object with r,g,b,a properties
Generated using TypeDoc
An immutable four component (RGBA) color.
The color components (r,g,b,a) are in the range 0..1
Note that this class is immutable.