跳到正文

Soup

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

获取配置
背景色
#40424c
前景色
#9090b2
文字对比度
3.24:1AA 大字号
强调色对比度
6.16:1最低 1.52
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 的配置文件

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

Soup

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

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

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

Soup 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#40424crgb(64 66 76)hsl(230 9% 27%)oklch(38.1% 0.017 276.6)—
前景色foreground#9090b2rgb(144 144 178)hsl(240 18% 63%)oklch(66.5% 0.050 285.0)3.24 AA 大字号
光标cursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)9.36 AAA
光标文字cursorText#9090b2rgb(144 144 178)hsl(240 18% 63%)oklch(66.5% 0.050 285.0)3.24 AA 大字号
选区selection#68b0abrgb(104 176 171)hsl(176 31% 55%)oklch(70.9% 0.073 189.9)3.99 AA 大字号
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)9.99 AAA
黑color0#4c4e5argb(76 78 90)hsl(231 8% 33%)oklch(42.7% 0.020 278.0)1.21 低于 AA
红color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)1.52 低于 AA
绿color2#68b0abrgb(104 176 171)hsl(176 31% 55%)oklch(70.9% 0.073 189.9)3.99 AA 大字号
黄color3#8fc0a9rgb(143 192 169)hsl(152 28% 66%)oklch(76.7% 0.061 164.4)4.89 AA
蓝color4#c8d5b9rgb(200 213 185)hsl(88 25% 78%)oklch(85.6% 0.040 127.6)6.51 AA
品红color5#faf3ddrgb(250 243 221)hsl(46 74% 92%)oklch(96.4% 0.030 92.3)9.01 AAA
青color6#8fc0a9rgb(143 192 169)hsl(152 28% 66%)oklch(76.7% 0.061 164.4)4.89 AA
白color7#9f9fbcrgb(159 159 188)hsl(240 18% 68%)oklch(71.2% 0.042 285.3)3.88 AA 大字号
亮黑color8#636676rgb(99 102 118)hsl(231 9% 43%)oklch(51.3% 0.025 277.1)1.76 低于 AA
亮红color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)2.21 低于 AA
亮绿color10#abd3d0rgb(171 211 208)hsl(176 31% 75%)oklch(83.7% 0.042 190.7)6.17 AA
亮黄color11#d0e5dbrgb(208 229 219)hsl(151 29% 86%)oklch(90.4% 0.026 165.6)7.57 AAA
亮蓝color12#fafbf9rgb(250 251 249)hsl(90 20% 98%)oklch(98.7% 0.003 128.5)9.63 AAA
亮品红color13#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)9.99 AAA
亮青color14#d0e5dbrgb(208 229 219)hsl(151 29% 86%)oklch(90.4% 0.026 165.6)7.57 AAA
亮白color15#bdbdd1rgb(189 189 209)hsl(240 18% 78%)oklch(80.5% 0.028 285.8)5.41 AA

关于 Soup

Soup 采用冷色调的深色背景(#40424c),默认前景色为 #9090b2。正文的 WCAG 对比度为 3.24:1(AA 大字号),12 种 ANSI 彩色槽位平均对比度 6.16:1,最低 1.52: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 相似的配色

数据来源:Rainglow (MIT)