Graphics: GDColor
Will Mason (contact me)
This class can be used to manage colors allocated for GD images.
It takes a resource identifier of a previously created image with GD and allocates a new color given is representation in the hexadecimal format.
The class can also allocate transparent colors by specifying an additional hexadecimal value for the alpha channel level besides the red, green and blue hexadecimal values.
Click here for detailed information about this class on phpclasses.org