A color scheme for any terminal

Lit Cell

A phosphor screen, not a neon sign. A dark, quiet ground with a faint green cast, a mint phosphor green, warm amber and soft pastels you can read all day. Lit Cell Light keeps the same hues, deepened for a pale paper ground.

MIT licensed · In iTerm2-Color-Schemes · Dark and light
Lit Cell#0C110E
Lit Cell Light#F1F4EF

The palette

Sixteen colors, each with one job

Every text color meets WCAG AA, 4.5:1 or better, against its background. The ratio sits under each color; the few marked fill are for backgrounds only. Click a value to copy it.

Lit CellEvery color but black is text-safe

Base

Aa 13.6:1
Aa 13.1:1
9.3:1 on selection

ANSI 0–7

fill
Aa 6.9:1
Aa 13.1:1
Aa 10.4:1
Aa 8.5:1
Aa 8.5:1
Aa 10.7:1
Aa 10.9:1

ANSI 8–15, bright

Aa 4.9:1
Aa 9.0:1
Aa 15.5:1
Aa 12.7:1
Aa 11.3:1
Aa 11.5:1
Aa 13.7:1
Aa 16.5:1
Lit Cell LightWhite and bright white are fills only

Base

Aa 14.1:1
Aa 4.9:1
14.1:1 on selection

ANSI 0–7

Aa 14.1:1
Aa 6.2:1
Aa 6.3:1
Aa 6.3:1
Aa 6.2:1
Aa 6.2:1
Aa 6.2:1
fill

ANSI 8–15, bright

Aa 4.8:1
Aa 4.6:1
Aa 4.6:1
Aa 4.6:1
Aa 4.6:1
Aa 4.6:1
Aa 4.6:1
fill

Selection text is measured against the selection color, not the background. In Lit Cell Light, white and bright white are never used for text.

In use

Color carries meaning, never alone

Most text stays in the foreground color. Red, amber and green mean one thing each, and every one of them comes with a marker, a symbol or an underline shape, so nothing depends on telling red from green.

Code

Colors are categories in code, so amber marks constants here, not warnings.

  • keywords magenta
  • strings green, escapes bright yellow
  • functions blue, decorators bright blue
  • types cyan, properties bright cyan
  • comments bright black
  • current line surface-raised, active match search-active
Lit Cellcell.py
Lit Cell Lightcell.py

Diffs

Added lines are green and removed lines red, each on its own tint. The + and - markers always stay, and the changed words get a stronger tint.

  • file headers foreground, bold
  • hunk headers cyan
  • diff-added-line green, 12%
  • diff-added-text green, 25%
  • diff-removed-line red, 12%
  • diff-removed-text red, 25%
Lit Cellgit diff
Lit Cell Lightgit diff

Diagnostics

Severity shows in the underline's shape as well as its color, and in the word in front of it.

  • error red, wavy
  • warning amber, dashed
  • info blue, dotted
  • hint cyan, dotted
Lit Cellcheck src/glow.py
Lit Cell Lightcheck src/glow.py

Install

Get it into your terminal

Pick your terminal. Every folder in the repo holds both lit-cell and lit-cell-light.

Variant

Ghostty

Built in as "Lit Cell" once your Ghostty release includes it. Until then, copy the theme into Ghostty’s themes folder:

shell
cp ghostty/lit-cell ~/.config/ghostty/themes/

Then set it in your Ghostty config:

config
theme = lit-cell
Open the ghostty folder on GitHub

Port it

Bring Lit Cell to your editor

The spec says what each color is for, so ports agree on meaning, not just hex values. It covers syntax, diagnostics, diffs, interface roles and how to derive anything a terminal palette leaves out.

  • A phosphor screen, not a neon signA dark, quiet ground. Most text stays in the foreground color.
  • Green is the signatureThe cursor, the active thing and success. Where attention belongs, not everywhere.
  • Status colors mean one thingRed is errors, amber is warnings, green is success. Never decoration.
  • No new huesNeed another shade? Mix palette colors by a set amount, never pick one by eye.

Ports in other repositories are welcome. Open an issue with a link and it will be listed in the main README.

Derived colors

Surfaces mix foreground into background. Tints mix a palette color into background.

Role Mix Lit CellLit Cell Light
surface foreground, 4%
surface-raised foreground, 8%
line foreground, 16%
subtext foreground, 75%
search-match yellow, 25%
search-active yellow, 45%
diff-added-line green, 12%
diff-added-text green, 25%
diff-removed-line red, 12%
diff-removed-text red, 25%
diff-changed-line yellow, 12%
diff-changed-text yellow, 25%

Lit Cell is the default scheme in Zinc, a precise, native terminal for Windows. The name comes from Zinc's mark, which is made of lit terminal cells.

Meet Zinc