Convert::Color::X11(3pm) | User Contributed Perl Documentation | Convert::Color::X11(3pm) |
"Convert::Color::X11" - named lookup of colors from X11's rgb.txt
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' );
This subclass of Convert::Color::RGB8 provides lookup of color names provided by X11's rgb.txt file.
Returns a list of the defined color names, in the order they were found in the rgb.txt file.
When called in scalar context, this method returns the count of the number of defined colors.
Returns a new object to represent the named color.
The name of the VGA color.
Paul Evans <leonerd@leonerd.org.uk>
2015-06-07 | perl v5.20.2 |