Skip to content

Halflife

Halflife is a dark terminal color scheme with a #222222 background and #cccccc text (9.9:1 contrast)

Get config
Background
#222222
Foreground
#cccccc
Text contrast
9.91:1AAA
Accent contrast
7.16:1min 2.42
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status — Konsole
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯ ls -la
drwxr-xr-x 12 ada staff 384 Oct 30 09:12 .
drwxr-xr-x 8 ada staff 256 Oct 29 18:40 ..
-rw-r--r-- 1 ada staff 1.2K Oct 30 09:10 .gitignore
drwxr-xr-x 5 ada staff 160 Oct 30 09:12 src
drwxr-xr-x 3 ada staff 96 Oct 28 11:02 public
-rwxr-xr-x 1 ada staff 2.4K Oct 30 08:57 build.sh
-rw-r--r-- 1 ada staff 4.1K Oct 30 09:01 package.json
lrwxr-xr-x 1 ada staff 18 Oct 27 14:33 node_modules -> ../cache/modules
-rw-r--r-- 1 ada staff 48K Oct 26 10:15 logo.png
-rw-r--r-- 1 ada staff 9.8M Oct 25 21:47 backup.tar.gz
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯ git status
On branch main
Your branch is ahead of 'origin/main' by 2 commits.
Changes to be committed:
new file: src/theme.css
modified: README.md
Changes not staged for commit:
modified: src/app.tsx
deleted: legacy/colors.js
Untracked files:
notes.md
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯

Halflife configs

16 formats, all from one palette

Halflife

Save to ~/.config/ghostty/themes/Halflife, then set theme = Halflife in config or config.ghostty

More Ghostty themes
Raw file
# Theme: Halflife (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/en/schemes/halflife?format=ghostty

palette = 0=#2f2f2f
palette = 1=#ba0e2e
palette = 2=#fc913a
palette = 3=#7d8991
palette = 4=#f9d423
palette = 5=#7d8991
palette = 6=#f85931
palette = 7=#d9d9d9
palette = 8=#484848
palette = 9=#e61f44
palette = 10=#fec99e
palette = 11=#b4bbc0
palette = 12=#fce786
palette = 13=#b4bbc0
palette = 14=#fba894
palette = 15=#f2f2f2
background = #222222
foreground = #cccccc
cursor-color = #f8f8f0
cursor-text = #cccccc
selection-background = #f85931
selection-foreground = #ffffff

Halflife palette

Palette color values and WCAG contrast ratios against the background
ColorSlotHEXRGBHSLOKLCHContrast
Backgroundbackground#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)—
Foregroundforeground#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)9.91 AAA
Cursorcursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)14.91 AAA
Cursor textcursorText#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)9.91 AAA
Selectionselection#f85931rgb(248 89 49)hsl(12 93% 58%)oklch(67.1% 0.202 35.0)4.90 AA
Selection textselectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.91 AAA
Blackcolor0#2f2f2frgb(47 47 47)hsl(0 0% 18%)oklch(30.5% 0.000 0)1.19 Fail
Redcolor1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.42 Fail
Greencolor2#fc913argb(252 145 58)hsl(27 97% 61%)oklch(75.7% 0.161 55.5)7.01 AAA
Yellowcolor3#7d8991rgb(125 137 145)hsl(204 8% 53%)oklch(62.3% 0.019 236.9)4.44 AA Large
Bluecolor4#f9d423rgb(249 212 35)hsl(50 95% 56%)oklch(87.6% 0.174 95.6)10.96 AAA
Magentacolor5#7d8991rgb(125 137 145)hsl(204 8% 53%)oklch(62.3% 0.019 236.9)4.44 AA Large
Cyancolor6#f85931rgb(248 89 49)hsl(12 93% 58%)oklch(67.1% 0.202 35.0)4.90 AA
Whitecolor7#d9d9d9rgb(217 217 217)hsl(0 0% 85%)oklch(88.5% 0.000 0)11.27 AAA
Bright Blackcolor8#484848rgb(72 72 72)hsl(0 0% 28%)oklch(40.2% 0.000 0)1.74 Fail
Bright Redcolor9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)3.52 AA Large
Bright Greencolor10#fec99ergb(254 201 158)hsl(27 98% 81%)oklch(87.3% 0.083 60.5)10.65 AAA
Bright Yellowcolor11#b4bbc0rgb(180 187 192)hsl(205 9% 73%)oklch(78.8% 0.011 238.6)8.19 AAA
Bright Bluecolor12#fce786rgb(252 231 134)hsl(49 95% 76%)oklch(92.5% 0.120 97.4)12.81 AAA
Bright Magentacolor13#b4bbc0rgb(180 187 192)hsl(205 9% 73%)oklch(78.8% 0.011 238.6)8.19 AAA
Bright Cyancolor14#fba894rgb(251 168 148)hsl(12 93% 78%)oklch(80.8% 0.103 34.2)8.43 AAA
Bright Whitecolor15#f2f2f2rgb(242 242 242)hsl(0 0% 95%)oklch(96.1% 0.000 0)14.21 AAA

About Halflife

Halflife is a dark terminal color scheme built on a neutral #222222 background with #cccccc as the default foreground. Body text reaches a 9.91:1 WCAG contrast ratio (AAA), while the 12 ANSI accent colors average 7.16:1 (minimum 2.42:1).

Its palette is moderately saturated, anchored by #ba0e2e red, #fc913a green, #f9d423 blue, and #7d8991 magenta.

Ready-to-use configs can be exported for Ghostty, iTerm2, Kitty, Alacritty, WezTerm, Windows Terminal, Warp, foot, Rio, XFCE4 Terminal, and Xresources, along with VS Code and Zed integrated terminals, CSS variables, Tailwind CSS, and JSON.

Schemes similar to Halflife

Source: Rainglow (MIT)