Convert::Color::IRC - named lookup for the basic IRC colors
Convert::Color::IRC
Directly:
use Convert::Color::IRC; my $red = Convert::Color::IRC->new( 'red' ); # Can also use index my $black = Convert::Color::IRC->new( 1 );
Via Convert::Color:
use Convert::Color; my $cyan = Convert::Color->new( 'irc:cyan' );
This subclass of Convert::Color::RG8B provides predefined colors for the 16 basic IRC colors. Their names are
white black blue green red brown purple orange yellow light green cyan light cyan light blue pink gray light gray
They may be looked up either by name, or by numerical index within this list.
Returns a new object to represent the named color.
Returns a new object to represent the color at the given index.
Convert::Color - color space conversions
Jason Felds <wolfman.ncsu2000@gmail.com>
Paul Evans <leonerd@leonerd.org.uk> for setting up the Convert::Color interface.
To install Convert::Color::IRC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Convert::Color::IRC
CPAN shell
perl -MCPAN -e shell install Convert::Color::IRC
For more information on module installation, please visit the detailed CPAN module installation guide.