Stroep

Just a collection of random works – Mark Knol

Tag Archives: color

Code snippetClass 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

Tagged with , , .