Template::Plugin::Color - Template plugin for color manipulation
[% USE col = Color.HSV(50, 255, 128) %] [% col.hue %] # 50 [% col.sat %] / [% col.saturation %] # 255 [% col.val %] / [% col.value %] # 128
The Template::Plugin::Color::HSV plugin module creates an object that represents a color in the HSV (hue, saturation, value) colour space.
Template::Plugin::Color::HSV
It is implemented as a subclass of Template::Plugin::Colour::HSV (note the spelling difference) and is provided as a convenience for Americans and other international users who spell 'Colour' as 'Color'.
Colour
Color
Please see the documentation for Template::Plugin::Colour::HSV for further details. Wherever you see 'Colour', you can safely write it as 'Color'.
Andy Wardley <abw@cpan.org>, http://wardley.org
Copyright (C) 2006-2012 Andy Wardley. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Template::Plugin::Colour::HSV
To install Template::Plugin::Colour, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template::Plugin::Colour
CPAN shell
perl -MCPAN -e shell install Template::Plugin::Colour
For more information on module installation, please visit the detailed CPAN module installation guide.