Color( value )

constructor

Create a new Color and initialize the values from a packed 24 bit color value. Armada colors do not use alpha, so only RGB is available.

Arguments

Name Type Description
value Number Bit packed color value, in the format RRGGBB.

Returns

Type Description
Color The new color with r g and b values initialised from the packed value