Color utility methods.
See also mx.utils.ColorUtil.
public static function blend(first:uint, second:uint, firstPerc:Number = 0.5):uint
Blend the two colors, either 50-50 or according to the ratio specified.
Parameters
| first:uint |
|
| second:uint |
|
| firstPerc:Number (default = 0.5 )
|
Returns
public static function getHue(color:uint):Number
Returns a color's Hue value, in degrees. 0<=Hue<=360.
http://en.wikipedia.org/wiki/Hue
Parameters
Returns
protected static const R2D:Number
protected static const ROOT_3:Number
Copyright © 2007-2009 Three Rings Design, Inc.