Skip to content
Gneiss is pre-1.0 and subject to change. Its colors, names and ports may change before 1.0. The changelog lists every color change.

Palette

Every color on this page comes from palette.toml when the site builds, and every contrast ratio is worked out from it. Ratios are WCAG 2 contrast ratios.

The base colors are numbered like Nord’s, so a port can be compared with Nord’s. The four background grays and the comment gray are Gneiss’s own; the text and accent colors are Nord’s values.

ColorHexUseOn gneiss0
gneiss0#1C1C1Ceditor and window background
gneiss1#2D2D2Dpanels, status bars, the current line1.24:1
gneiss2#383838selection, raised controls1.45:1
gneiss3#424242borders, indent guides1.70:1
gneiss-comment#6E6E6Ecomments: Nord's #616E88 at the same lightness3.34:1
gneiss4#D8DEE9body text12.62:1
gneiss5#E5E9F014.00:1
gneiss6#ECEFF4punctuation, emphasis14.79:1
gneiss7#8FBCBBattribute names, types8.18:1
gneiss8#88C0D0functions; the main accent8.52:1
gneiss9#81A1C1keywords, operators6.33:1
gneiss10#5E81ACdeep blue, for hints4.23:1
gneiss11#BF616Aerrors, deletions4.17:1
gneiss12#D08770used sparingly5.99:1
gneiss13#EBCB8Bwarnings10.91:1
gneiss14#A3BE8Cstrings, additions8.36:1
gneiss15#B48EADnumbers6.02:1

The background grays keep Nord’s steps: each is as far from the background as its Nord counterpart is from Nord’s. The comment gray is as light as Nord’s comment color. Design explains why.

GneissOn gneiss0NordOn nord0
gneiss11.24:1 nord11.24:1
gneiss21.45:1 nord21.45:1
gneiss31.70:1 nord31.69:1

gneiss-comment's relative luminance is 0.1559, and Nord's comment color's is 0.1547: 0.8% apart. fg-muted is 4.59:1 on gneiss2.

palette.toml also names roles, for apps themed from raw colors rather than by a port of their own, such as a window manager’s borders or a desktop shell. Each role names a base color, except fg-muted.

RoleColorHexOn bg
bggneiss0#1C1C1C
bg-subtlegneiss1#2D2D2D1.24:1
surfacegneiss1#2D2D2D1.24:1
overlaygneiss1#2D2D2D1.24:1
elevatedgneiss2#3838381.45:1
selectiongneiss2#3838381.45:1
bordergneiss3#4242421.70:1
border-stronggneiss-comment#6E6E6E3.34:1
fggneiss4#D8DEE912.62:1
fg-mutednot in Nord: a gray just over 4.5:1 on gneiss2#A2A2A26.68:1
fg-faintgneiss-comment#6E6E6E3.34:1
cursorgneiss4#D8DEE912.62:1
accentgneiss8#88C0D08.52:1
on-accentgneiss0#1C1C1C8.52:1 on accent
bluegneiss9#81A1C16.33:1
greengneiss14#A3BE8C8.36:1
redgneiss11#BF616A4.17:1
yellowgneiss13#EBCB8B10.91:1
magentagneiss15#B48EAD6.02:1
cyangneiss8#88C0D08.52:1
blue-brightgneiss9#81A1C16.33:1
green-brightgneiss14#A3BE8C8.36:1
red-brightgneiss11#BF616A4.17:1
yellow-brightgneiss13#EBCB8B10.91:1
magenta-brightgneiss15#B48EAD6.02:1
cyan-brightgneiss7#8FBCBB8.18:1
  • palette.toml has the base colors under [base] and the roles under [colors].
  • The Nix flake has it parsed, as lib.palette: see Nix.