Skip to content

CGA

CGA is a true black, vibrant, dark terminal color scheme with a #000000 background and #aaaaaa text (9.0:1 contrast)

Get config
Background
#000000
Foreground
#aaaaaa
Text contrast
9.04:1AAA
Accent contrast
8.09:1min 1.58
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
❯

CGA configs

16 formats, all from one palette

CGA

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

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

palette = 0=#000000
palette = 1=#aa0000
palette = 2=#00aa00
palette = 3=#aa5500
palette = 4=#0000aa
palette = 5=#aa00aa
palette = 6=#00aaaa
palette = 7=#aaaaaa
palette = 8=#555555
palette = 9=#ff5555
palette = 10=#55ff55
palette = 11=#ffff55
palette = 12=#5555ff
palette = 13=#ff55ff
palette = 14=#55ffff
palette = 15=#ffffff
background = #000000
foreground = #aaaaaa
cursor-color = #b8b8b8
cursor-text = #ffffff
selection-background = #c1deff
selection-foreground = #000000

CGA 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#aaaaaargb(170 170 170)hsl(0 0% 67%)oklch(73.8% 0.000 0)9.04 AAA
Cursorcursor#b8b8b8rgb(184 184 184)hsl(0 0% 72%)oklch(78.3% 0.000 0)10.59 AAA
Cursor textcursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
Selectionselection#c1deffrgb(193 222 255)hsl(212 100% 88%)oklch(89.0% 0.055 251.8)15.16 AAA
Selection textselectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 Fail
Blackcolor0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 Fail
Redcolor1#aa0000rgb(170 0 0)hsl(0 100% 33%)oklch(46.3% 0.190 29.2)2.71 Fail
Greencolor2#00aa00rgb(0 170 0)hsl(120 100% 33%)oklch(63.9% 0.218 142.5)6.75 AA
Yellowcolor3#aa5500rgb(170 85 0)hsl(30 100% 33%)oklch(54.3% 0.136 54.1)4.01 AA Large
Bluecolor4#0000aargb(0 0 170)hsl(240 100% 33%)oklch(33.4% 0.231 264.1)1.58 Fail
Magentacolor5#aa00aargb(170 0 170)hsl(300 100% 33%)oklch(51.8% 0.238 328.4)3.29 AA Large
Cyancolor6#00aaaargb(0 170 170)hsl(180 100% 33%)oklch(66.8% 0.114 194.8)7.33 AAA
Whitecolor7#aaaaaargb(170 170 170)hsl(0 0% 67%)oklch(73.8% 0.000 0)9.04 AAA
Bright Blackcolor8#555555rgb(85 85 85)hsl(0 0% 33%)oklch(45.0% 0.000 0)2.82 Fail
Bright Redcolor9#ff5555rgb(255 85 85)hsl(0 100% 67%)oklch(68.2% 0.206 24.4)6.68 AA
Bright Greencolor10#55ff55rgb(85 255 85)hsl(120 100% 67%)oklch(88.0% 0.252 143.1)15.82 AAA
Bright Yellowcolor11#ffff55rgb(255 255 85)hsl(60 100% 67%)oklch(97.1% 0.183 109.4)19.69 AAA
Bright Bluecolor12#5555ffrgb(85 85 255)hsl(240 100% 67%)oklch(56.0% 0.244 275.1)4.13 AA Large
Bright Magentacolor13#ff55ffrgb(255 85 255)hsl(300 100% 67%)oklch(74.0% 0.272 327.9)8.00 AAA
Bright Cyancolor14#55ffffrgb(85 255 255)hsl(180 100% 67%)oklch(91.5% 0.136 195.0)17.13 AAA
Bright Whitecolor15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA

About CGA

CGA is a dark terminal color scheme built on a neutral #000000 background with #aaaaaa as the default foreground. Body text reaches a 9.04:1 WCAG contrast ratio (AAA), while the 12 ANSI accent colors average 8.09:1 (minimum 1.58:1).

Its palette is highly saturated, anchored by #aa0000 red, #00aa00 green, #0000aa blue, and #aa00aa 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.

Published upstream with an identical palette under the names Linux

Schemes similar to CGA

Source: iTerm2 Color Schemes (MIT)