ColorChip
Easy Color Manipulation with PHP
ColorChip is a class for working with color in a more convenient manner than the basic RGB and Hexadecimal triplets often encountered in programming, especially web-oriented programming. ColorChip allows you to define a color using RGB, HSV (Hue, Saturation, Value) or a Hexadecimal string. ColorChip objects have properties for all three of these color models, as well as methods for adjusting both RGB and HSV values - these methods automatically update all of the object's properties. Additional methods exist for getting color compliments, triads, and the nearest websafe color.
Download
ColorChip is released under the GNU Public license. If you download and use ColorChip, you must abide by the terms of the GPL.
Try It!
See ColorChip in action with a Live Demo of the example.php script included in the file download.
|