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


Manual Reference Pages  -  CONVERT::COLOR::X11 (3)

.ds Aq ’

NAME

"Convert::Color::X11" - named lookup of colors from X11’s rgb.txt

CONTENTS

SYNOPSIS

Directly:



 use Convert::Color::X11;

 my $red = Convert::Color::X11->new( red );



Via Convert::Color:



 use Convert::Color;

 my $cyan = Convert::Color->new( x11:cyan );



DESCRIPTION

This subclass of Convert::Color::RGB8 provides lookup of color names provided by X11’s rgb.txt file.

CLASS METHODS

CW@colors = Convert::Color::X11->colors

Returns a list of the defined color names, in the order they were found in the rgb.txt file.

CW$num_colors = Convert::Color::X11->colors

When called in scalar context, this method returns the count of the number of defined colors.

CONSTRUCTOR

CW$color = Convert::Color::X11->new( CW$name )

Returns a new object to represent the named color.

METHODS

CW$name = CW$color->name

The name of the VGA color.

SEE ALSO

o Convert::Color - color space conversions

AUTHOR

Paul Evans <leonerd@leonerd.org.uk>
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CONVERT::COLOR::X11 (3) 2014-06-01

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