Andy Wardley

NAME

Template::Plugin::Color - Template plugin for color manipulation

SYNOPSIS

    [% USE col = Color.HSV(50, 255, 128) %]

    [% col.hue %]                          # 50
    [% col.sat %] / [% col.saturation %]   # 255
    [% col.val %] / [% col.value %]        # 128

DESCRIPTION

The Template::Plugin::Color::HSV plugin module creates an object that represents a color in the HSV (hue, saturation, value) colour space.

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'.

Please see the documentation for Template::Plugin::Colour::HSV for further details. Wherever you see 'Colour', you can safely write it as 'Color'.

AUTHOR

Andy Wardley <abw@cpan.org>, http://wardley.org

COPYRIGHT

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.

SEE ALSO

Template::Plugin::Colour::HSV