
Convert::Color::IRC - named lookup for the basic IRC colors

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.


Jason Felds <wolfman.ncsu2000@gmail.com>

Paul Evans <leonerd@leonerd.org.uk> for setting up the Convert::Color interface.