Query: convert::color::x11
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Convert::Color::X11(3pm) User Contributed Perl Documentation Convert::Color::X11(3pm)NAME"Convert::Color::X11" - named lookup of colors from X11's rgb.txtSYNOPSISDirectly: use Convert::Color::X11; my $red = Convert::Color::X11->new( 'red' ); Via Convert::Color: use Convert::Color; my $cyan = Convert::Color->new( 'x11:cyan' );DESCRIPTIONThis subclass of Convert::Color::RGB8 provides lookup of color names provided by X11's rgb.txt file.CLASS METHODS@colors = Convert::Color::X11->colors Returns a list of the defined color names, in the order they were found in the rgb.txt file. $num_colors = Convert::Color::X11->colors When called in scalar context, this method returns the count of the number of defined colors.CONSTRUCTOR$color = Convert::Color::X11->new( $name ) Returns a new object to represent the named color.METHODS$name = $color->name The name of the VGA color.SEE ALSOo Convert::Color - color space conversionsAUTHORPaul Evans <leonerd@leonerd.org.uk> perl v5.12.3 2011-06-15 Convert::Color::X11(3pm)
Related Man Pages |
---|
color::library::color(3pm) - debian |
color::library::dictionary(3pm) - debian |
convert::color(3pm) - debian |
convert::color::hsv(3pm) - debian |
graphics::color::cmyk(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
awk or sed - Convert 2 lines to 1 line |
One instance of comparing grep and awk |
Weird 'find' results |
New UNIX and Linux History Sections |