Scroll to navigation

palcomp(1) hxtools palcomp(1)

Name

palcomp — palette composer

Syntax

palcomp [commands...]

Commands

debug, emit, lch, rgb, satmul=r, vga, vgs, xterm

Description

palcomp modifies a color palette in certain ways.

Commands

debug

Turn on individual colorspace conversion reporting.

emit

Emit the the RGB palette as a line for an XDG theme file.

lch

Computes the LCh-based palette from the current in-memory RGB palette, and stores the result in the LCH slot.

rgb

Computes the RGB-based palette from the current in-memory LCh palette, and stores the result in the RGB slot.

satmul=r

Multiplies the C channel of the LCH palette's colors with factor r. In effect, this causes a desaturation of colors with r<1; r=0 leads to grayscale.

vga

Loads the standard VGA palette into the RGB slot.

vgs

Loads a full-saturated VGA palette into the RGB slot.

xterm

Emit the RGB palette as an xterm command line.

See also

hxtools(7)

2022-10-23 hxtools