HSV

ColorChip

Submitted by andy on Sat, 10/27/2007 - 20:04.

ColorChip is a PHP 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.

Image(s):