跳到正文

Soup Contrast

Soup Contrast 是一套深色终端配色(柔和、低饱和),背景色 #17181c,文字色 #9090b2,对比度 5.8:1

获取配置
背景色
#17181c
前景色
#9090b2
文字对比度
5.76:1AA
强调色对比度
10.94:1最低 2.69
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
❯

Soup Contrast 的配置文件

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

Soup Contrast

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

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

palette = 0=#23242a
palette = 1=#ba0e2e
palette = 2=#68b0ab
palette = 3=#8fc0a9
palette = 4=#c8d5b9
palette = 5=#faf3dd
palette = 6=#8fc0a9
palette = 7=#9f9fbc
palette = 8=#3a3c46
palette = 9=#e61f44
palette = 10=#abd3d0
palette = 11=#d0e5db
palette = 12=#fafbf9
palette = 13=#ffffff
palette = 14=#d0e5db
palette = 15=#bdbdd1
background = #17181c
foreground = #9090b2
cursor-color = #f8f8f0
cursor-text = #9090b2
selection-background = #68b0ab
selection-foreground = #ffffff

Soup Contrast 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#17181crgb(23 24 28)hsl(228 10% 10%)oklch(21.0% 0.008 274.5)—
前景色foreground#9090b2rgb(144 144 178)hsl(240 18% 63%)oklch(66.5% 0.050 285.0)5.76 AA
光标cursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)16.62 AAA
光标文字cursorText#9090b2rgb(144 144 178)hsl(240 18% 63%)oklch(66.5% 0.050 285.0)5.76 AA
选区selection#68b0abrgb(104 176 171)hsl(176 31% 55%)oklch(70.9% 0.073 189.9)7.08 AAA
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.74 AAA
黑color0#23242argb(35 36 42)hsl(231 9% 15%)oklch(26.2% 0.011 278.1)1.15 低于 AA
红color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.69 低于 AA
绿color2#68b0abrgb(104 176 171)hsl(176 31% 55%)oklch(70.9% 0.073 189.9)7.08 AAA
黄color3#8fc0a9rgb(143 192 169)hsl(152 28% 66%)oklch(76.7% 0.061 164.4)8.68 AAA
蓝color4#c8d5b9rgb(200 213 185)hsl(88 25% 78%)oklch(85.6% 0.040 127.6)11.55 AAA
品红color5#faf3ddrgb(250 243 221)hsl(46 74% 92%)oklch(96.4% 0.030 92.3)15.99 AAA
青color6#8fc0a9rgb(143 192 169)hsl(152 28% 66%)oklch(76.7% 0.061 164.4)8.68 AAA
白color7#9f9fbcrgb(159 159 188)hsl(240 18% 68%)oklch(71.2% 0.042 285.3)6.89 AA
亮黑color8#3a3c46rgb(58 60 70)hsl(230 9% 25%)oklch(35.8% 0.017 276.5)1.62 低于 AA
亮红color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)3.92 AA 大字号
亮绿color10#abd3d0rgb(171 211 208)hsl(176 31% 75%)oklch(83.7% 0.042 190.7)10.95 AAA
亮黄color11#d0e5dbrgb(208 229 219)hsl(151 29% 86%)oklch(90.4% 0.026 165.6)13.44 AAA
亮蓝color12#fafbf9rgb(250 251 249)hsl(90 20% 98%)oklch(98.7% 0.003 128.5)17.09 AAA
亮品红color13#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.74 AAA
亮青color14#d0e5dbrgb(208 229 219)hsl(151 29% 86%)oklch(90.4% 0.026 165.6)13.44 AAA
亮白color15#bdbdd1rgb(189 189 209)hsl(240 18% 78%)oklch(80.5% 0.028 285.8)9.60 AAA

关于 Soup Contrast

Soup Contrast 采用中性色调的深色背景(#17181c),默认前景色为 #9090b2。正文的 WCAG 对比度为 5.76:1(AA),12 种 ANSI 彩色槽位平均对比度 10.94:1,最低 2.69:1。

色板整体色彩饱和度偏低,其中红色为 #ba0e2e、绿色为 #68b0ab、蓝色为 #c8d5b9、品红为 #faf3dd。

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

与 Soup Contrast 相似的配色

数据来源:Rainglow (MIT)