跳到正文

Mud Contrast

Mud Contrast 是一套深色终端配色(纯黑、高对比度),背景色 #0d0b0b,文字色 #ffffff,对比度 19.6:1

获取配置
背景色
#0d0b0b
前景色
#ffffff
文字对比度
19.63:1AAA
强调色对比度
9.93:1最低 2.98
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
❯

Mud Contrast 的配置文件

16 种格式,都从同一份色板生成

Mud Contrast

存到 ~/.config/ghostty/themes/Mud Contrast,再在 config 或 config.ghostty 里写 theme = Mud Contrast

更多 Ghostty 配色
原始文件
# Theme: Mud Contrast (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/mud-contrast?format=ghostty

palette = 0=#1b1717
palette = 1=#ba0e2e
palette = 2=#f2c12f
palette = 3=#f55239
palette = 4=#8ee350
palette = 5=#f8553c
palette = 6=#eaba2c
palette = 7=#ffffff
palette = 8=#362e2e
palette = 9=#e61f44
palette = 10=#f8de8f
palette = 11=#faa79a
palette = 12=#c7f1a8
palette = 13=#fcab9e
palette = 14=#f3d889
palette = 15=#ffffff
background = #0d0b0b
foreground = #ffffff
cursor-color = #f8f8f0
cursor-text = #ffffff
selection-background = #b5db99
selection-foreground = #4e653d

Mud Contrast 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#0d0b0brgb(13 11 11)hsl(0 8% 5%)oklch(15.2% 0.003 17.5)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.63 AAA
光标cursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)18.39 AAA
光标文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.63 AAA
选区selection#b5db99rgb(181 219 153)hsl(95 48% 73%)oklch(84.8% 0.097 132.5)12.67 AAA
选区文字selectionText#4e653drgb(78 101 61)hsl(94 25% 32%)oklch(47.7% 0.067 132.8)3.04 AA 大字号
黑color0#1b1717rgb(27 23 23)hsl(0 8% 10%)oklch(20.9% 0.006 17.7)1.10 低于 AA
红color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.98 低于 AA
绿color2#f2c12frgb(242 193 47)hsl(45 88% 57%)oklch(83.2% 0.158 88.5)11.63 AAA
黄color3#f55239rgb(245 82 57)hsl(8 90% 59%)oklch(65.9% 0.203 31.5)5.75 AA
蓝color4#8ee350rgb(142 227 80)hsl(95 72% 60%)oklch(83.3% 0.198 134.5)12.39 AAA
品红color5#f8553crgb(248 85 60)hsl(8 93% 60%)oklch(66.8% 0.203 31.5)5.94 AA
青color6#eaba2crgb(234 186 44)hsl(45 82% 55%)oklch(81.0% 0.155 88.3)10.80 AAA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.63 AAA
亮黑color8#362e2ergb(54 46 46)hsl(0 8% 20%)oklch(31.0% 0.012 17.8)1.48 低于 AA
亮红color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)4.34 AA 大字号
亮绿color10#f8de8frgb(248 222 143)hsl(45 88% 77%)oklch(90.5% 0.102 91.9)14.80 AAA
亮黄color11#faa79argb(250 167 154)hsl(8 91% 79%)oklch(80.6% 0.101 29.2)10.34 AAA
亮蓝color12#c7f1a8rgb(199 241 168)hsl(95 72% 80%)oklch(91.1% 0.105 132.5)15.49 AAA
亮品红color13#fcab9ergb(252 171 158)hsl(8 94% 80%)oklch(81.6% 0.098 29.4)10.71 AAA
亮青color14#f3d889rgb(243 216 137)hsl(45 82% 75%)oklch(88.8% 0.103 91.3)14.02 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.63 AAA

关于 Mud Contrast

Mud Contrast 采用中性色调的深色背景(#0d0b0b),默认前景色为 #ffffff。正文的 WCAG 对比度为 19.63:1(AAA),12 种 ANSI 彩色槽位平均对比度 9.93:1,最低 2.98:1。

色板整体色彩饱和度适中,其中红色为 #ba0e2e、绿色为 #f2c12f、蓝色为 #8ee350、品红为 #f8553c。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Mud Contrast 相似的配色

数据来源:Rainglow (MIT)