jangler.info

news / music / code / links / botb / contact

Schematic

Create a color scheme based on a seed RGB color value. The scheme is composed of the seed color and a number of other colors that have the same CIELAB lightness and are equally spaced in hue (direction from a neutral reference color in the color space).

This program was specifically designed for making Linux terminal color schemes, where equal contrast is desirable and the usual HSV model misses the mark.

Installation

Manual installation:

make && sudo make install

If you use Arch Linux or a derivative, you may also install via the AUR package.

Usage

usage: schematic [-L float] [-h float] [-s float] [-n int] [-r color] color

Example

$ schematic -n 3 -r 444444 005577
005577
8a2f56
484918

See also

Labrat, a graphical program with similar functionality.

Source code