color_space

What colorspace to use to gather the most prominent colors.

NameDescription
labUses Cie L a b color space. (mixed and ansi)
lchCIE 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 SpaceDescription
LabUses Cie Lab color space
LabMixedVariant of lab that mixes the colors gathered, if not enough colors it fallbacks to usual lab (not recommended in small images)
LchCIE Lch, you can understand this color space like LAB but with chrome and hue added. Could help when sorting.
LchMixedCIE Lch, you can understand this color space like LAB but with chrome and hue added. Could help when sorting.
LchAnsiVariant 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