NAME
Graphics::Toolkit::Color::Manual::CheatSheet - GTC keywords at a glance
METHODS
Value: is_in_gamutvalues name / closest_namedistanceColor: lighten / darken saturate / desaturate tint / tone / shadetone_curve set_value / add_valuemix invertSets: complement / analogous / gradient / cluster
ARGUMENTS
in : (all except) name closest_namefrom : name closest_namecolor : new is_in_gamut (sub)raw : new valuesrange : new values distanceonly : distance invertto : distance mix analogous gradientsteps : complement analogous gradienttilt : 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 / CIERGBAdobeRGB / AppleRGB / ProPhotoRGB / WideGamutRGBDisplay P3 / Display P3 Linear / DCI-P3 / Display P3 Linear / Rec.709 / Rec.2020LAB : OKLAB / CIELAB / HunterLAB / CIELUV / YIQ / YUVHSL : OKHSL / OKLCH / HSL / CIELCHab / CIELCHuvHSV : OKHSV / HSV / HSBHWB : OKHWB / HWB / NColother : CMY / CMYK
AUTHOR
Herbert Breunung, <[email protected]>
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.