Andy Wardley > Template-Plugin-Colour-0.05 > Template::Plugin::Color

Download:
Template-Plugin-Colour-0.05.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 2.1   Source  

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

syntax highlighting: