color_space
What colorspace to use to gather the most prominent colors.
Name | Description |
---|---|
lab | Uses Cie L a b color space. (mixed and ansi) |
lch | CIE Lch, you can understand this color space like LAB but with chrome and hue added, which Could help when sorting. (mixed) |
There are two variants:
- mixed, which mixes colors when collecting them into a histogram.
- ansi, Tries to get a full color pallete similar to the one of a tty, this works best with
ansidark
palette.
Overview
Below, is a complete overview of all colorspaces variations:
Color Space | Description |
---|---|
Lab | Uses Cie Lab color space |
LabMixed | Variant of lab that mixes the colors gathered, if not enough colors it fallbacks to usual lab (not recommended in small images) |
Lch | CIE Lch, you can understand this color space like LAB but with chrome and hue added. Could help when sorting. |
LchMixed | CIE Lch, you can understand this color space like LAB but with chrome and hue added. Could help when sorting. |
LchAnsi | Variant of Lch which preserves 8 colors: black, red, green, yellow, blue, magenta, cyan and gray. This works best with 'darkansi' palette, allowing a constant color order. |
To edit this value:
- Config file:
color_space = "lchmixed"
- Cli:
wallust run image.png --colorspace lchmixed