QUICK START
Convert from one color space to another, from example from RGB to HSV (Hue-Saturation-Value):
use Graphics::ColorObject;
($h, $s, $v) = @{ Graphics::ColorObject->new_RGB([$r, $g, $b])->as_HSV() };
You can convert between any of these color spaces: XYZ, xyY, Lab, LCHab, RGB, HSL, HSV, CMY, CMYK, YPbPr, YCbCr, YUV, YIQ, PhotoYCC.
For more detailed info, type:
perldoc ColorObject.pm
INSTALLATION
To install this module type the following:
perl Makefile.PL
make
make test
make install
DEPENDENCIES
Graphics::ColorNames
COPYRIGHT AND LICENCE
Copyright 2003-2005 by Alex Izvorski
(Portions Copyright 2001-2003 by Alfred Reibenschuh)
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.