Yiq color space
version 0.29
use Graphics::Color::YIQ; my $color = Graphics::Color::YIQ->new({ luminance => 0.5, in_phase => .5, quadrature => .25, });
Graphics::Color::YIQ represents a Color in an \s-1YIQ\s0 color space.
I couldn't find clear information on the bounds of each value, so at the moment there are none.
Set/Get the luminance component of this Color.
Set/Get the in_phase component of this Color.
Set/Get the quadrature component of this Color.
Get the name of this color. Only valid if the color was created by name.
The opposite of equal_to.
Get a string version of this Color in the form of \s-1LUMINANCE\s0,IN-PHASE,QUADRATURE
Get the \s-1YIQ\s0 values as an array
Compares this color to the provided one. Returns 1 if true, else 0;
Cory G Watson <[email protected]>
This software is copyright (c) 2011 by Cold Hard Code, \s-1LLC\s0.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.