跳到正文

Vegetable

Vegetable 是一套深色终端配色,背景色 #2d2627,文字色 #e2dcdd,对比度 10.9:1

获取配置
背景色
#2d2627
前景色
#e2dcdd
文字对比度
10.94:1AAA
强调色对比度
7.54:1最低 2.25
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 的配置文件

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

Vegetable

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

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

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

Vegetable 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#2d2627rgb(45 38 39)hsl(351 8% 16%)oklch(27.7% 0.011 8.0)—
前景色foreground#e2dcddrgb(226 220 221)hsl(350 9% 87%)oklch(90.0% 0.007 5.6)10.94 AAA
光标cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.81 AAA
光标文字cursorText#e2dcddrgb(226 220 221)hsl(350 9% 87%)oklch(90.0% 0.007 5.6)10.94 AAA
选区selection#689d81rgb(104 157 129)hsl(148 21% 51%)oklch(65.1% 0.071 160.5)4.74 AA
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.81 AAA
黑color0#3b3233rgb(59 50 51)hsl(353 8% 21%)oklch(32.7% 0.013 10.2)1.19 低于 AA
红color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.25 低于 AA
绿color2#f0a56crgb(240 165 108)hsl(26 81% 68%)oklch(78.3% 0.115 57.3)7.27 AAA
黄color3#689d81rgb(104 157 129)hsl(148 21% 51%)oklch(65.1% 0.071 160.5)4.74 AA
蓝color4#d8ca96rgb(216 202 150)hsl(47 46% 72%)oklch(83.8% 0.070 94.8)9.03 AAA
品红color5#f0a56crgb(240 165 108)hsl(26 81% 68%)oklch(78.3% 0.115 57.3)7.27 AAA
青color6#689d81rgb(104 157 129)hsl(148 21% 51%)oklch(65.1% 0.071 160.5)4.74 AA
白color7#eeeaebrgb(238 234 235)hsl(345 11% 93%)oklch(94.0% 0.005 0.0)12.41 AAA
亮黑color8#56494brgb(86 73 75)hsl(351 8% 31%)oklch(41.9% 0.018 7.4)1.73 低于 AA
亮红color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)3.27 AA 大字号
亮绿color10#f9dec9rgb(249 222 201)hsl(26 80% 88%)oklch(91.7% 0.041 60.1)11.51 AAA
亮黄color11#a6c5b5rgb(166 197 181)hsl(149 21% 71%)oklch(79.6% 0.040 162.9)7.95 AAA
亮蓝color12#f4f0e0rgb(244 240 224)hsl(48 48% 92%)oklch(95.4% 0.022 95.3)12.97 AAA
亮品红color13#f9dec9rgb(249 222 201)hsl(26 80% 88%)oklch(91.7% 0.041 60.1)11.51 AAA
亮青color14#a6c5b5rgb(166 197 181)hsl(149 21% 71%)oklch(79.6% 0.040 162.9)7.95 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.81 AAA

关于 Vegetable

Vegetable 采用中性色调的深色背景(#2d2627),默认前景色为 #e2dcdd。正文的 WCAG 对比度为 10.94:1(AAA),12 种 ANSI 彩色槽位平均对比度 7.54:1,最低 2.25: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 相似的配色

数据来源:Rainglow (MIT)