Palette
Uses the colors gathered from color_space in a way that makes sense,
resulting in a scheme palette.
| Name | Description |
|---|---|
| ansidark | Dark ansi colors, works best with lchansi and orders it’s colors to preserve a constant tty like order: color0 -> black, color1 -> redish, color2 -> greenish, and so on. |
| dark | Dark colors dark background and light contrast. (16, comp, comp16) |
| harddark | Same as dark with hard hue colors. (16, comp, comp16) |
| light | Light bg dark fg. (16, comp, comp16) |
| softdark | Variant of softlight uses the lightest colors and a dark background could be interpreted as dark inversed. (16, comp, comp16) |
| softlight | Light with soft pastel colors counterpart of harddark. (16, comp, comp16) |
Palette Variations
There are some variants to the principal palettes schemes which you can use by
appending the variant to the name e.g. ‘dark16’, ‘lightcomp’, ‘harddarkcomp16’
and so on, each palette indicates, in parenthesis, which variants are
avaliable.
| Name | Description |
|---|---|
| 16 | Makes shades of colors, creating the ilusion of 16 different colors. |
| comp | Stands for Complementary and completly changes the palette to it’s complementary counterpart. |
| comp16 | Complementary palette with 16 shades, basically a combination of the above. |
Overview
Below, is a complete overview of all palette schemes:
| Palette | Description |
|---|---|
| Dark | 8 dark colors, dark background and light contrast |
| Dark16 | Same as dark but uses the 16 colors trick |
| DarkComp | This is a dark variant that changes all colors to it’s complementary counterpart, giving the feeling of a ‘new palette’ but that still makes sense with the image provided. |
| DarkComp16 | 16 variation of the dark complementary variant |
| AnsiDark | This is not a ‘dark’ variant, is a new palette that is meant to work with lchansi colorspace, which will maintain ‘tty’ like color order and only adjusting the colors acording to the theme. A possible solution for LS_COLORS and the like. Should workout with other colorspace, but the result may not be optimal. |
| AnsiDark16 | The ansidark palette with 16 color variation. |
| HardDark | Same as dark with hard hue colors |
| HardDark16 | Harddark with 16 color variation |
| HardDarkComp | complementary colors variation of harddark scheme |
| HardDarkComp16 | complementary colors variation of harddark scheme |
| SalienceDark | Dark with ascending salience, sampling the highest (default) gathered salient colors. |
| SalienceDark16 | SalienceDark but uses the 16 colors trick. |
| SalienceDarkBalanced | SalienceDark, but sampling the median gathered salient colors. Use if you find all the colors screaming your attention (all very salient) and you want to tone it down. |
| SalienceDarkBalanced16 | SalienceDarkBalanced but uses the 16 colors trick. |
| SalienceDarkDistributed | SalienceDark, but sampling distributed across gathered salient colors. Use if you find all colors screaming your attention (all very salient) and you want to spread it out. |
| SalienceDarkDistributed16 | SalienceDarkDistributed but uses the 16 colors trick. |
| SalienceDarkLow | SalienceDark, but sampling the lowest gathered salient colors. Use if you find all colors screaming your attention (all very salient) and you really want to tone it down. |
| SalienceDarkLow16 | SalienceDarkLow but uses the 16 colors trick. |
| Light | Light bg, dark fg |
| Light16 | Same as light but uses the 16 color trick |
| LightComp | complementary colors variation of light |
| LightComp16 | complementary colors variation of light with the 16 color variation |
| SoftDark | Variant of softlight, uses the lightest colors and a dark background (could be interpreted as dark inversed) |
| SoftDark16 | softdark with 16 color variation |
| SoftDarkComp | complementary variation for softdark |
| SoftDarkComp16 | complementary variation for softdark with the 16 color variation |
| SoftLight | Light with soft pastel colors, counterpart of harddark |
| SoftLight16 | softlight with 16 color variation |
| SoftLightComp | softlight with complementary colors |
| SoftLightComp16 | softlight with complementary colors with 16 colors |
| SalienceLight | Light with ascending salience, sampling the highest (default) gathered salient colors. |
| SalienceLight16 | SalienceLight but uses the 16 colors trick. |
| SalienceLightBalanced | SalienceLight, but sampling the median gathered salient colors. Use if you find all the colors screaming your attention (all very salient) and you want to tone it down. |
| SalienceLightBalanced16 | SalienceLightBalanced but uses the 16 colors trick. |
| SalienceLightDistributed | SalienceLight, but sampling distributed across gathered salient colors. Use if you find all colors screaming your attention (all very salient) and you want to spread it out. |
| SalienceLightDistributed16 | SalienceLightDistributed but uses the 16 colors trick. |
| SalienceLightLow | SalienceLight, but sampling the lowest gathered salient colors. Use if you find all colors screaming your attention (all very salient) and you really want to tone it down. |
| SalienceLightLow16 | SalienceLightLow but uses the 16 colors trick. |
To edit this value:
- Config file:
palette = darkcomp16 - Cli:
wallust run image.png --palette darkcomp16