Math functions for colors.
static public function rgb2hex(r:Number, g:Number, b:Number):NumberConvert rgb to hexadecimal.
r | Red Color. Value between 0 and 255 |
g | Green Color. Value between 0 and 255 |
b | Blue Color. Value between 0 and 255 |
The hexadecimal color of the rvb given.