Color:...:Multi(3pm)
π NAME π
ok so bestie, this is the manpage for Color::Spectrum::Multi β and the manual itself lives at Color::Spectrum::Multi(3pm) π«Ά
It's a simple Color::Spectrum wrapper to handle fading between multiple colours. That's the whole vibe. Fades. Many colours. Slay. β¨
π VERSION π
Version 0.02 β yes, tiny number, huge energy. π
π¦ 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. it's giving gradient excellence π
Usage is much the same as Color::Spectrum, except you can supply as many colours as you wish. As MANY as you wish, bestie. Go feral. π
# 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 πΈ
So Color::Spectrum provides an easy way to fade between two colours in a given number of steps. Cute, love that for it. π
This module is a simple wrapper around Color::Spectrum, making it easy to fade between an arbitrary number of colours. No cap β two colours, ten colours, forty colours, the fade just keeps going. π¦β¨
π METHODS π
π generate
Given the desired number of steps and two or more colours, returns a series of colours. That's it, that's the whole method, and honestly? Main character energy. π
β οΈ heads up bestie: it needs two or more colours. One colour is not a fade, it's just a colour. π
β¨ AUTHOR β¨
David Precious, "<davidp at preshweb.co.uk>" β thank you for this module king π
π 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. Look at that communication, we love a feedback loop. π«Άπ
π§ 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/>
four whole places to go be nosy, we're so blessed πβ
π COPYRIGHT & LICENSE π
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.
no cap, the vibe check is complete π
and that's a wrap, bestie β this page came to you from perl v5.36.0, dated 2023-02-04, filed under Color::...:Multi(3pm) πβ¨ go forth and fade between every colour you can find π¦ππ
π¦ where this page comes from
- debian bookworm: libcolor-spectrum-multi-perl 0.02-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libcolor-spectrum-multi-perl 0.02-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libcolor-spectrum-multi-perl 0.02-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcolor-spectrum-multi-perl 0.02-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcolor-spectrum-multi-perl 0.02-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms