GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Convert::Color::VGA(3) User Contributed Perl Documentation Convert::Color::VGA(3)

"Convert::Color::VGA" - named lookup for the basic VGA colors

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' );

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.

Returns a new object to represent the named color.

Returns a new object to represent the color at the given index.

The index of the VGA color.

The name of the VGA color.

Convert::Color - color space conversions

Paul Evans <leonerd@leonerd.org.uk>
2014-06-01 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.