debian man page for convert::color::vga

Query: convert::color::vga

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Convert::Color::VGA(3pm)				User Contributed Perl Documentation				  Convert::Color::VGA(3pm)

NAME
"Convert::Color::VGA" - named lookup for the basic VGA colors
SYNOPSIS
Directly: use Convert::Color::VGA; my $red = Convert::Color::VGA->new( 'red' ); # Can also use index my $black = Convert::Color::VGA->new( 0 ); Via Convert::Color: use Convert::Color; my $cyan = Convert::Color->new( 'vga:cyan' );
DESCRIPTION
This subclass of Convert::Color::RGB provides predefined colors for the 8 basic VGA colors. Their names are black red green yellow blue magenta cyan white They may be looked up either by name, or by numerical index within this list.
CONSTRUCTOR
$color = Convert::Color::VGA->new( $name ) Returns a new object to represent the named color. $color = Convert::Color::VGA->new( $index ) Returns a new object to represent the color at the given index.
METHODS
$index = $color->index The index of the VGA color. $name = $color->name The name of the VGA color.
SEE ALSO
o Convert::Color - color space conversions
AUTHOR
Paul Evans <leonerd@leonerd.org.uk> perl v5.12.3 2011-06-15 Convert::Color::VGA(3pm)
Related Man Pages
convert::color::hsl(3pm) - debian
convert::color::rgb(3pm) - debian
graphics::color::cmyk(3pm) - debian
graphics::color::hsv(3pm) - debian
sdl::color(3pm) - debian
Similar Topics in the Unix Linux Community
Installing Dash Shell on OS X Lion
awk or sed - Convert 2 lines to 1 line
Is UNIX an open source OS ?
Detecting unused variables...
Find columns in a file based on header and print to new file