A-C > Color.getRGB |
![]() ![]() ![]() |
Color.getRGB
Availability
Flash Player 5.
Usage
myColor
.getRGB()
Parameters
None.
Returns
Nothing.
Description
Method; returns the numeric values set by the last setRGB
call.
Example
The following code retrieves the RGB value for the Color object instance myColor
, converts it to a hexadecimal string, and assigns it to the value
variable.
value = myColor.getRGB().toString(16);
See also
![]() ![]() ![]() |