| 1 |
Color-Spectrum-Multi |
| 2 |
|
| 3 |
A very simple wrapper around Color::Spectrum, to make fading between more than |
| 4 |
two colours simple and pleasant. |
| 5 |
|
| 6 |
See Color::Spectrum's documentation - the only difference using |
| 7 |
Color::Spectrum::Multi is that you can supply as many colours as you wish. |
| 8 |
|
| 9 |
For instance, you could fade from red, through yellow, to green: |
| 10 |
|
| 11 |
my $spectrum = Color::Spectrum::Multi->new; |
| 12 |
my @colors = $spectrum->generate(15, '#FF0000', '#FFEE00', '#00FF00'); |
| 13 |
|
| 14 |
INSTALLATION |
| 15 |
|
| 16 |
To install this module, run the following commands: |
| 17 |
|
| 18 |
perl Makefile.PL |
| 19 |
make |
| 20 |
make test |
| 21 |
make install |
| 22 |
|
| 23 |
SUPPORT AND DOCUMENTATION |
| 24 |
|
| 25 |
After installing, you can find documentation for this module with the |
| 26 |
perldoc command. |
| 27 |
|
| 28 |
perldoc Color::Spectrum::Multi |
| 29 |
|
| 30 |
You can also look for information at: |
| 31 |
|
| 32 |
RT, CPAN's request tracker |
| 33 |
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Color-Spectrum-Multi |
| 34 |
|
| 35 |
AnnoCPAN, Annotated CPAN documentation |
| 36 |
http://annocpan.org/dist/Color-Spectrum-Multi |
| 37 |
|
| 38 |
CPAN Ratings |
| 39 |
http://cpanratings.perl.org/d/Color-Spectrum-Multi |
| 40 |
|
| 41 |
Search CPAN |
| 42 |
http://search.cpan.org/dist/Color-Spectrum-Multi/ |
| 43 |
|
| 44 |
|
| 45 |
COPYRIGHT AND LICENCE |
| 46 |
|
| 47 |
Copyright (C) 2009 David Precious |
| 48 |
|
| 49 |
This program is free software; you can redistribute it and/or modify it |
| 50 |
under the same terms as Perl itself. |
| 51 |
|