Index // GetColor


Format:

getcolor
getcolor()

Description:

Returns the RGB value of the current drawing color (last set by color statement). RGB is calculated by taking ((red * 256) + green * 256) + blue where red, green, and blue are between 0 and 255.

See Also:

Color, Rgb

Example:

color red
print getcolor
will print
16711680

Revised:

0.9.5m