Cemant (pronouced sə’mænt) is an 18-color palette for use with terminals, text editors, and minimalistic desktop environments.
It is inspired by the light gray that was once (still is?) so popular in GUIs and utilises a lowish-contrast set of accompanying colors to round out the palette. Hues and values were calculated over the CIELAB color space with the aid of the golden ratio to add some Reason, even if the calculations would have no other scientific or ergonomic basis.
let λ = 0.618 over 100 χ = 0.618 over 128
|bg, fg||76.4: 2λ2||23.6: λ3||0||-04.4: -χ7|
|dark||eigengrau||38.2: λ2||0||-04.4: -χ7|
|red||38.2: λ2||52.8: λ2+λ4||+48.9: +χ2||+30.2: +χ3|
|green||47.2: 2λ3||61.8: λ||-30.2: -χ3||+48.9: +χ2|
|yellow||47.2: 2λ3||61.8: λ||+11.5: +χ5||+48.9: +χ2|
|blue||38.2: λ2||52.8: λ2+λ4||+11.5: +χ5||-48.9: -χ2|
|magenta||38.2: λ2||52.8: λ2+λ4||+48.9: +χ2||-30.2: -χ3|
|cyan||47.2: 2λ3||61.8: λ||-30.2: -χ3||0|
|light||61.8: λ||85.4: λ+λ3||0||-04.4: -χ7|
Colors were chosen in a systematic yet subjective way, influenced by perception and the golden ratio. The resulting set is not entirely symmetrical, but still not too bad.
For some reason, with lightness set to equal, the colors beneath the
x = y line (ie. r, m, b) seemed brighter/stronger than those above (ie. y, g, c), so an offset was introduced in their respective lightnesses.
Note that the labeling of the graphs is not standard mathematical notation; it is shown this way just as a shorthand. For instance, the
B color with a blue parameter (
-2 actually means
(* -128 (^ 0.618 2)).
msgcat --color=test (
msgcat provided by gettext)