A-C > Color.getRGB

Color.getRGB

Syntax

myColor.getRGB();

Arguments

None.

Description

Method; returns the numeric values set by the last setRGB call.

Player

Flash 5 or later.

Example

The following code retrieves the RGB value as a hexadecimal string:

value = (getRGB()).toString(16);

See also

Color.setRGB