Imager::Color::Table(3pm)

Imager::Color::Table3pm

Built-in imager color table

Usage

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

Overview

This class provides a base color table for use in resolving color names.

The table contains the standard X11 "rgb.txt" colors.

This table is not included as part of Imager::Color itself since it's moderately large.

There is only one method:

get
  my @rgb = Imager::Color::Table->get('red')
    or die "No red found";

Retrieves a color from Imager::Color::Tables built-in color table.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 10 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8
  7. 9
  8. 10
  9. 11
  10. 12
  11. 13

Author

Tony Cook <[email protected]>

From libimager-perl 1.027+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.