The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.015 - 2024-06-08

  • Rename module/dist Sah-Schema{s,Bundle}-* for consistency with others.
  • Add schema: color::cmyk.

Modules

Coerce RGB24 code or color name (from Graphics::ColorNames::X scheme) to RGB24 code
ANSI-16 color, either a number from 0-15 or color names like "black", "bold red", etc
ANSI-256 color, an integer number from 0-255
CMYK color in the format of C,M,Y,K where each component is an integer between 0-100, e.g. 0,0,0,50 (gray)
RGB 24-digit color, a hexdigit e.g. ffcc00
Sah schemas related to color codes/names
ANSI-16 color, either a number from 0-15 or color names like "black", "bold red", etc
ANSI-256 color, an integer number from 0-255
CMYK color in the format of C,M,Y,K where each component is an integer between 0-100, e.g. 0,0,0,50 (gray)
RGB 24-digit color, a hexdigit e.g. ffcc00