System.toActualColor

Function/Meaning

Getting the actual color of a color constant

Type
Systemclassmethod of
Syntax
toActualColor(color)
Arguments
color

Specify a color constant (see List of Color Constants).
If you specify a color in the normal 0xRRGGBB format, the value is returned as is.

Return value

Returns the actual color represented by the specified color constant in 0xRRGGBB format.

Explanation

Converts a color constant to the actual color and returns it in 0xRRGGBB format.