Represents a color in RGBA space.
Constructor
new(red:Float, green:Float, blue:Float, alpha:Float)
Creates a new color instance.
Parameters:
red | The red component. |
---|---|
green | The green component. |
blue | The blue component. |
alpha | The alpha component. |