NAME

Color::Spectrum::Multi - simple Color::Spectrum wrapper to handle fading between multiple colours.

VERSION

Version 0.02

SYNOPSIS

A simple wrapper around Color::Spectrum, to allow generating a range of colours fading between multiple colours (e.g. a red -> yellow -> green fade) easy.
Usage is much the same as Color::Spectrum, except you can supply as many colours as you wish.
  # Procedural interface:
  use Color::Spectrum::Multi qw(generate);
  my @color = generate(10,'#FF0000','#00FF00', '#0000FF');
  # OO interface:
  use Color::Spectrum::Multi;
  my $spectrum = Color::Spectrum::Multi->new();
  my @color = $spectrum->generate(10,'#FF0000','#00FF00', '#0000FF');

DESCRIPTION

Color::Spectrum provides an easy way to fade between two colours in a given number of steps. This module is a simple wrapper around Color::Spectrum, making it easy to fade between an arbitrary number of colours.

METHODS

generate
Given the desired number of steps and two or more colours, returns a series of colours.

AUTHOR

David Precious, "<davidp at preshweb.co.uk>"

BUGS

Please report any bugs or feature requests to "bug-color-spectrum-multi at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Color-Spectrum-Multi>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.
    perldoc Color::Spectrum::Multi
You can also look for information at:
RT: CPAN's request tracker <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Color-Spectrum-Multi>
AnnoCPAN: Annotated CPAN documentation <http://annocpan.org/dist/Color-Spectrum-Multi>
CPAN Ratings <http://cpanratings.perl.org/d/Color-Spectrum-Multi>
Search CPAN <http://search.cpan.org/dist/Color-Spectrum-Multi/>
Copyright 2009 David Precious, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Questions & Answers

Helpful answers and articles about Color::Spectrum::Multi you may found on these sites:
Stack Overflow Server Fault Super User Unix & Linux Ask Ubuntu Network Engineering DevOps Raspberry Pi Webmasters Google Search