---
name: "Imager::Color::Table"
section: "3pm"
platform: "linux"
package: "libimager-perl"
version: "1.027+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Imager::Color::Table"
---

# Imager::Color::Table(3pm)

built-in Imager color table

## NAME

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

## SYNOPSIS

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

## DESCRIPTION

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.

## AUTHOR

Tony Cook \<tony@develop-help.com\>
