跳到正文

Vegetable Contrast

Vegetable Contrast 是一套深色终端配色,背景色 #161314,文字色 #e2dcdd,对比度 13.6:1

获取配置
背景色
#161314
前景色
#e2dcdd
文字对比度
13.64:1AAA
强调色对比度
9.40:1最低 2.80
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
❯

Vegetable Contrast 的配置文件

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

Vegetable Contrast

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

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

palette = 0=#241f20
palette = 1=#ba0e2e
palette = 2=#f0a56c
palette = 3=#689d81
palette = 4=#d8ca96
palette = 5=#f0a56c
palette = 6=#689d81
palette = 7=#eeeaeb
palette = 8=#3f3639
palette = 9=#e61f44
palette = 10=#f9dec9
palette = 11=#a6c5b5
palette = 12=#f4f0e0
palette = 13=#f9dec9
palette = 14=#a6c5b5
palette = 15=#ffffff
background = #161314
foreground = #e2dcdd
cursor-color = #ffffff
cursor-text = #e2dcdd
selection-background = #689d81
selection-foreground = #ffffff

Vegetable Contrast 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#161314rgb(22 19 20)hsl(340 7% 8%)oklch(19.1% 0.005 355.4)—
前景色foreground#e2dcddrgb(226 220 221)hsl(350 9% 87%)oklch(90.0% 0.007 5.6)13.64 AAA
光标cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.46 AAA
光标文字cursorText#e2dcddrgb(226 220 221)hsl(350 9% 87%)oklch(90.0% 0.007 5.6)13.64 AAA
选区selection#689d81rgb(104 157 129)hsl(148 21% 51%)oklch(65.1% 0.071 160.5)5.92 AA
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.46 AAA
黑color0#241f20rgb(36 31 32)hsl(348 7% 13%)oklch(24.5% 0.008 4.0)1.14 低于 AA
红color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.80 低于 AA
绿color2#f0a56crgb(240 165 108)hsl(26 81% 68%)oklch(78.3% 0.115 57.3)9.06 AAA
黄color3#689d81rgb(104 157 129)hsl(148 21% 51%)oklch(65.1% 0.071 160.5)5.92 AA
蓝color4#d8ca96rgb(216 202 150)hsl(47 46% 72%)oklch(83.8% 0.070 94.8)11.26 AAA
品红color5#f0a56crgb(240 165 108)hsl(26 81% 68%)oklch(78.3% 0.115 57.3)9.06 AAA
青color6#689d81rgb(104 157 129)hsl(148 21% 51%)oklch(65.1% 0.071 160.5)5.92 AA
白color7#eeeaebrgb(238 234 235)hsl(345 11% 93%)oklch(94.0% 0.005 0.0)15.48 AAA
亮黑color8#3f3639rgb(63 54 57)hsl(340 8% 23%)oklch(34.3% 0.014 355.7)1.58 低于 AA
亮红color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)4.08 AA 大字号
亮绿color10#f9dec9rgb(249 222 201)hsl(26 80% 88%)oklch(91.7% 0.041 60.1)14.35 AAA
亮黄color11#a6c5b5rgb(166 197 181)hsl(149 21% 71%)oklch(79.6% 0.040 162.9)9.91 AAA
亮蓝color12#f4f0e0rgb(244 240 224)hsl(48 48% 92%)oklch(95.4% 0.022 95.3)16.17 AAA
亮品红color13#f9dec9rgb(249 222 201)hsl(26 80% 88%)oklch(91.7% 0.041 60.1)14.35 AAA
亮青color14#a6c5b5rgb(166 197 181)hsl(149 21% 71%)oklch(79.6% 0.040 162.9)9.91 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.46 AAA

关于 Vegetable Contrast

Vegetable Contrast 采用中性色调的深色背景(#161314),默认前景色为 #e2dcdd。正文的 WCAG 对比度为 13.64:1(AAA),12 种 ANSI 彩色槽位平均对比度 9.40:1,最低 2.80:1。

色板整体色彩饱和度适中,其中红色为 #ba0e2e、绿色为 #f0a56c、蓝色为 #d8ca96、品红为 #f0a56c。

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

与 Vegetable Contrast 相似的配色

数据来源:Rainglow (MIT)