Threshold

Wallust automatically uses the best threshold, heuristically, if this variable isn't defined (default behaviour).

If you really want to define this variable, keep in mind the following. Thershold is the difference between similar colors , used inside the colorspace.

Each colorspace may have different results with different thresholds, meaning you should try which one works for you best.

An overall table looks like this:

NumberDescription
1Not Perceptible by human eyes.
1 - 2Perceptible through close observation.
2 - 10Perceptible at a glance.
11 - 49Colors are more similar than opposite.
100Colors are exact opposite.

To edit this value:

  • Config file: threshold = 10
  • Cli: wallust run image.png --threshold 18