1Imager::Color::Table(3)User Contributed Perl DocumentatioInmager::Color::Table(3)
2
3
4

NAME

6       Imager::Color::Table - built-in Imager color table
7

SYNOPSIS

9         use Imager::Color::Table;
10         my @rgb = Imager::Color::Table->get($name)
11           or die "Color $name not found";
12

DESCRIPTION

14       This class provides a base color table for use in resolving color
15       names.
16
17       The table contains the standard X11 "rgb.txt" colors.
18
19       This table is not included as part of Imager::Color itself since it's
20       moderately large.
21
22       There is only one method:
23
24       get
25             my @rgb = Imager::Color::Table->get('red')
26               or die "No red found";
27
28           Retrieves a color from Imager::Color::Tables built-in color table.
29

AUTHOR

31       Tony Cook <tony@develop-help.com>
32
33
34
35perl v5.36.0                      2022-07-22           Imager::Color::Table(3)
Impressum