NAME
colors - Greple module for various colormap
SYNOPSIS
greple -Mcolors --light ...
greple -Mcolors --dark ...
greple -Mcolors --solarized ...
DESCRIPTION
Provides predefined color schemes optimized for light, dark, and Solarized terminal backgrounds. All colors use Term::ANSIColor::Concise format.
COLOR FORMAT
- RGB format (e.g.,
K/544,555/100) -
3-digit RGB values (0-5 each) for 216-color palette. Format is
foreground/background.Kmeans black,Wmeans white. - Hex format (e.g.,
#002b36,080808) -
6-digit hexadecimal RGB values for 24-bit true color.
- Grey levels (e.g.,
L01-L24) -
24-level greyscale from dark (L01) to light (L24).
OPTIONS
- --light
-
Color scheme for light background terminals. Uses dark foreground colors on lighter backgrounds.
- --dark
-
Color scheme for dark background terminals. Uses light foreground colors on darker backgrounds.
- --bright
-
Alias for --light.
- --grey24
- --grey24-bg
-
24-level greyscale colors. --grey24 uses grey foreground colors, --grey24-bg uses grey background with contrasting foreground.
- --greyhex
- --greyhex-bg
-
24-level greyscale using hex color codes for true color terminals.
- --solarized
- --solarized-fg
- --solarized-bg
-
Ethan Schoonover's Solarized color palette. --solarized is an alias for --solarized-fg. --solarized-bg uses Solarized colors as background.
SEE ALSO
App::Greple, Term::ANSIColor::Concise
Color Adjustment
Term::ANSIColor::Concise provides color adjustment modifiers that can be appended to any color specification. This allows you to customize colors without modifying this module.
Modifier format: [+-=*][parameter][value]
l - Lightness (0-100) <red>+l20 (lighter red)
y - Luminance (0-100) <blue>-y10 (darker blue)
s - Saturation (0-100) <green>=s50 (less saturated)
h - Hue shift (degrees) <red>+h30 (shift toward orange)
c - Complement <red>c (cyan)
i - RGB Inverse <blue>i (yellow)
g - Grayscale <red>g
Example:
greple --cm '<red>+l20,<blue>-s10,<green>+h15'
See Term::ANSIColor::Concise for complete documentation.
Solarized
Solarized is a sixteen color palette designed by Ethan Schoonover for use with terminal and GUI applications.
- https://ethanschoonover.com/solarized/
-
Official Solarized homepage.
- https://github.com/altercation/solarized
-
Solarized repository with color values and ports for various applications.