Graphics-Toolkit-Color

 view release on metacpan or  search on metacpan

lib/Graphics/Toolkit/Color/Manual/Space.pod  view on Meta::CPAN

the curve. But in any case this procedure is called B<transfer function>.


=head1 RGB family

=head2 RGB

(alias name is B<SRGB> - standard RGB) is the default color space of this 
module internally and for input and output.
It is used by most computer hardware like monitors and follows the logic of 
additive color mixing as produced by an overlay of three colored light beams.
The sum of all colors will be white, as opposed to subtractive mixing. 
I<RGB> is a completely Cartesian (Euclidean) 3D space and thus an I<RGB>
tuple consists of three integer values:

B<red> (short B<r>) range: 0 .. 255, B<green> (short B<g>) range: 0 .. 255
and B<blue> (short B<b>) range: 0 .. 255.
A higher value means that a stronger amount of that base color flows into 
the mix that is displayed on a black background. Therefore black is (0, 0, 0), 
white (255, 255, 255) and a pure red (fully saturated color) is (255, 0, 0). 
RGB has a gamma of 2.4, but a piecewise transfer function, which is 



( run in 1.038 second using v1.01-cache-2.11-cpan-7fcb06a456a )