---
name: "Graphics::Toolkit::Color::Manual::CheatSheet"
section: "3pm"
platform: "linux"
package: "perl-graphics-toolkit-color"
version: "2.22-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Graphics::Toolkit::Color::Manual::CheatSheet"
---

# Graphics::Toolkit::Color::Manual::CheatSheet(3pm)

GTC keywords at a glance

## NAME

Graphics::Toolkit::Color::Manual::CheatSheet - GTC keywords at a glance

## METHODS

```
   Value:      is_in_gamut
               values               name / closest_name
               distance
   Color:      lighten / darken     saturate / desaturate    tint / tone / shade
               tone_curve           set_value / add_value
               mix                  invert
    Sets:      complement / analogous / gradient / cluster
```

## ARGUMENTS

```
     in        : (all except)                name closest_name
     from      :                             name closest_name
     color     : new  is_in_gamut (sub)
     raw       : new  values
     range     : new  values      distance
     only      :                  distance   invert
     to        :                  distance   mix          analogous  gradient
     steps     :                             complement   analogous  gradient
     tilt      :                             complement   analogous  gradient
```

## FORMATS

```
              list  (1,2,3)
             array  [1,2,3]
       named_array  [RGB =>  1,2,3 ]
      nested_array  [RGB => [1,2,3]]
              hash  {red => 1, green => 2, blue => 3}
         char_hash  {r   => 1, g     => 2, b    => 3}
      named_string  'rgb: 1, 2, 3'
        css_string  'rgb( 1, 2, 3)'
        hex_string  '#010203' '#123' (RGB only)
```

## SPACES

```
      RGB : RGB / LinearRGB / CIEXYZ / CIERGB
            AdobeRGB / AppleRGB / ProPhotoRGB / WideGamutRGB
            Display P3 / Display P3 Linear / DCI-P3 / Display P3 Linear / Rec.709 / Rec.2020
      LAB : OKLAB / CIELAB / HunterLAB / CIELUV / YIQ / YUV
      HSL : OKHSL / OKLCH / HSL / CIELCHab / CIELCHuv
      HSV : OKHSV / HSV / HSB
      HWB : OKHWB / HWB / NCol
    other : CMY / CMYK
```

## AUTHOR

Herbert Breunung, \<lichtkind@cpan.org\>

## COPYRIGHT

Copyright 2026 Herbert Breunung.

## LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
