Skip to content

Source Code X

Source Code X is a soft, dark terminal color scheme with a #1f1f24 background and #000000 text (1.3:1 contrast)

Get config
Background
#1f1f24
Foreground
#000000
Text contrast
1.28:1Fail
Accent contrast
7.13:1min 5.47
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
❯

Source Code X configs

16 formats, all from one palette

Source Code X

Save to ~/.config/ghostty/themes/Source Code X, then set theme = Source Code X in config or config.ghostty

More Ghostty themes
Raw file
# Theme: Source Code X (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/en/schemes/source-code-x?format=ghostty

palette = 0=#4e596b
palette = 1=#fb695d
palette = 2=#74b391
palette = 3=#fc8e3e
palette = 4=#9586f4
palette = 5=#fb5ea3
palette = 6=#79c8b6
palette = 7=#bfbfbf
palette = 8=#91a0b1
palette = 9=#fb695d
palette = 10=#aef37c
palette = 11=#fc8e3e
palette = 12=#53a4fb
palette = 13=#fb5ea3
palette = 14=#83d2c0
palette = 15=#91a0b1
background = #1f1f24
foreground = #000000
cursor-color = #000000
cursor-text = #1f1f24
selection-background = #111115
selection-foreground = #000000

Source Code X palette

Palette color values and WCAG contrast ratios against the background
ColorSlotHEXRGBHSLOKLCHContrast
Backgroundbackground#1f1f24rgb(31 31 36)hsl(240 7% 13%)oklch(24.1% 0.009 285.7)—
Foregroundforeground#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.28 Fail
Cursorcursor#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.28 Fail
Cursor textcursorText#1f1f24rgb(31 31 36)hsl(240 7% 13%)oklch(24.1% 0.009 285.7)1.00 Fail
Selectionselection#111115rgb(17 17 21)hsl(240 11% 7%)oklch(17.9% 0.008 285.5)1.15 Fail
Selection textselectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.28 Fail
Blackcolor0#4e596brgb(78 89 107)hsl(217 16% 36%)oklch(46.1% 0.033 260.2)2.32 Fail
Redcolor1#fb695drgb(251 105 93)hsl(5 95% 67%)oklch(70.1% 0.181 27.4)5.69 AA
Greencolor2#74b391rgb(116 179 145)hsl(148 29% 58%)oklch(71.4% 0.082 159.8)6.72 AA
Yellowcolor3#fc8e3ergb(252 142 62)hsl(25 97% 62%)oklch(75.3% 0.161 53.1)7.09 AAA
Bluecolor4#9586f4rgb(149 134 244)hsl(248 83% 74%)oklch(68.2% 0.158 287.7)5.47 AA
Magentacolor5#fb5ea3rgb(251 94 163)hsl(334 95% 68%)oklch(70.4% 0.201 356.3)5.65 AA
Cyancolor6#79c8b6rgb(121 200 182)hsl(166 42% 63%)oklch(77.7% 0.083 177.8)8.40 AAA
Whitecolor7#bfbfbfrgb(191 191 191)hsl(0 0% 75%)oklch(80.5% 0.000 0)8.92 AAA
Bright Blackcolor8#91a0b1rgb(145 160 177)hsl(212 17% 63%)oklch(70.0% 0.030 251.6)6.15 AA
Bright Redcolor9#fb695drgb(251 105 93)hsl(5 95% 67%)oklch(70.1% 0.181 27.4)5.69 AA
Bright Greencolor10#aef37crgb(174 243 124)hsl(95 83% 72%)oklch(89.2% 0.166 133.5)12.43 AAA
Bright Yellowcolor11#fc8e3ergb(252 142 62)hsl(25 97% 62%)oklch(75.3% 0.161 53.1)7.09 AAA
Bright Bluecolor12#53a4fbrgb(83 164 251)hsl(211 95% 65%)oklch(70.7% 0.151 252.2)6.31 AA
Bright Magentacolor13#fb5ea3rgb(251 94 163)hsl(334 95% 68%)oklch(70.4% 0.201 356.3)5.65 AA
Bright Cyancolor14#83d2c0rgb(131 210 192)hsl(166 47% 67%)oklch(80.8% 0.082 178.0)9.33 AAA
Bright Whitecolor15#91a0b1rgb(145 160 177)hsl(212 17% 63%)oklch(70.0% 0.030 251.6)6.15 AA

About Source Code X

Source Code X is a dark terminal color scheme built on a neutral #1f1f24 background with #000000 as the default foreground. Body text reaches a 1.28:1 WCAG contrast ratio (below AA), while the 12 ANSI accent colors average 7.13:1 (minimum 5.47:1).

Its palette is moderately saturated, anchored by #fb695d red, #74b391 green, #9586f4 blue, and #fb5ea3 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 Source Code X

Source: Gogh (MIT OR Apache-2.0)