nl.stroep.utils.Color
Class to work/calculate with colors. You can easily abstract the red, green or blue values from a color.
Usage:import nl.stroep.utils.Color
// create orange color
var myColor:Color = new Color(0xFFCC00);
trace(“value”, myColor.value);
trace(“red”, myColor.red);
trace(“green “, myColor.green);
trace(“blue”, myColor.blue);
Download
Check out the Color class at googlecode
ColorTransform already does this.
Hi senocular, I never noticed this was already implemented. I always thought ColorTransform class only was available in the transform oject of a displayobject or in combination with bitmapdata functions.