Skip to content

Halflife Contrast

Halflife Contrast is a true black, dark terminal color scheme with a #000000 background and #cccccc text (13.1:1 contrast)

Get config
Background
#000000
Foreground
#cccccc
Text contrast
13.08:1AAA
Accent contrast
9.46:1min 3.19
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 Contrast configs

16 formats, all from one palette

Halflife Contrast

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

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

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

Halflife Contrast palette

Palette color values and WCAG contrast ratios against the background
ColorSlotHEXRGBHSLOKLCHContrast
Backgroundbackground#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
Foregroundforeground#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)13.08 AAA
Cursorcursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)19.68 AAA
Cursor textcursorText#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)13.08 AAA
Selectionselection#f85931rgb(248 89 49)hsl(12 93% 58%)oklch(67.1% 0.202 35.0)6.46 AA
Selection textselectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
Blackcolor0#0d0d0drgb(13 13 13)hsl(0 0% 5%)oklch(15.9% 0.000 0)1.08 Fail
Redcolor1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)3.19 AA Large
Greencolor2#fc913argb(252 145 58)hsl(27 97% 61%)oklch(75.7% 0.161 55.5)9.25 AAA
Yellowcolor3#7d8991rgb(125 137 145)hsl(204 8% 53%)oklch(62.3% 0.019 236.9)5.86 AA
Bluecolor4#f9d423rgb(249 212 35)hsl(50 95% 56%)oklch(87.6% 0.174 95.6)14.47 AAA
Magentacolor5#7d8991rgb(125 137 145)hsl(204 8% 53%)oklch(62.3% 0.019 236.9)5.86 AA
Cyancolor6#f85931rgb(248 89 49)hsl(12 93% 58%)oklch(67.1% 0.202 35.0)6.46 AA
Whitecolor7#d9d9d9rgb(217 217 217)hsl(0 0% 85%)oklch(88.5% 0.000 0)14.88 AAA
Bright Blackcolor8#262626rgb(38 38 38)hsl(0 0% 15%)oklch(26.9% 0.000 0)1.39 Fail
Bright Redcolor9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)4.64 AA
Bright Greencolor10#fec99ergb(254 201 158)hsl(27 98% 81%)oklch(87.3% 0.083 60.5)14.06 AAA
Bright Yellowcolor11#b4bbc0rgb(180 187 192)hsl(205 9% 73%)oklch(78.8% 0.011 238.6)10.81 AAA
Bright Bluecolor12#fce786rgb(252 231 134)hsl(49 95% 76%)oklch(92.5% 0.120 97.4)16.91 AAA
Bright Magentacolor13#b4bbc0rgb(180 187 192)hsl(205 9% 73%)oklch(78.8% 0.011 238.6)10.81 AAA
Bright Cyancolor14#fba894rgb(251 168 148)hsl(12 93% 78%)oklch(80.8% 0.103 34.2)11.13 AAA
Bright Whitecolor15#f2f2f2rgb(242 242 242)hsl(0 0% 95%)oklch(96.1% 0.000 0)18.76 AAA

About Halflife Contrast

Halflife Contrast is a dark terminal color scheme built on a neutral #000000 background with #cccccc as the default foreground. Body text reaches a 13.08:1 WCAG contrast ratio (AAA), while the 12 ANSI accent colors average 9.46:1 (minimum 3.19: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 Contrast

Source: Rainglow (MIT)