跳到正文

Gruvbox Dark Soft

Gruvbox Dark Soft 是一套深色终端配色,背景色 #32302f,文字色 #d5c4a1,对比度 7.7:1

获取配置
背景色
#32302f
前景色
#d5c4a1
文字对比度
7.65:1AAA
强调色对比度
5.64:1最低 3.82
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
❯

Gruvbox Dark Soft 的配置文件

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

Gruvbox Dark Soft

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

更多 Ghostty 配色
原始文件
# Theme: Gruvbox Dark Soft (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/gruvbox-dark-soft?format=ghostty

palette = 0=#32302f
palette = 1=#fb4934
palette = 2=#b8bb26
palette = 3=#fabd2f
palette = 4=#83a598
palette = 5=#d3869b
palette = 6=#8ec07c
palette = 7=#d5c4a1
palette = 8=#665c54
palette = 9=#fb4934
palette = 10=#b8bb26
palette = 11=#fabd2f
palette = 12=#83a598
palette = 13=#d3869b
palette = 14=#8ec07c
palette = 15=#fbf1c7
background = #32302f
foreground = #d5c4a1
cursor-color = #d5c4a1
cursor-text = #32302f
selection-background = #575249
selection-foreground = #d5c4a1

Gruvbox Dark Soft 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#32302frgb(50 48 47)hsl(20 3% 19%)oklch(31.1% 0.003 48.6)—
前景色foreground#d5c4a1rgb(213 196 161)hsl(40 38% 73%)oklch(82.5% 0.051 85.1)7.65 AAA
光标cursor#d5c4a1rgb(213 196 161)hsl(40 38% 73%)oklch(82.5% 0.051 85.1)7.65 AAA
光标文字cursorText#32302frgb(50 48 47)hsl(20 3% 19%)oklch(31.1% 0.003 48.6)1.00 低于 AA
选区selection#575249rgb(87 82 73)hsl(39 9% 31%)oklch(44.1% 0.016 82.4)1.69 低于 AA
选区文字selectionText#d5c4a1rgb(213 196 161)hsl(40 38% 73%)oklch(82.5% 0.051 85.1)7.65 AAA
黑color0#32302frgb(50 48 47)hsl(20 3% 19%)oklch(31.1% 0.003 48.6)1.00 低于 AA
红color1#fb4934rgb(251 73 52)hsl(6 96% 59%)oklch(66.0% 0.218 30.4)3.82 AA 大字号
绿color2#b8bb26rgb(184 187 38)hsl(61 66% 44%)oklch(76.5% 0.158 110.8)6.36 AA
黄color3#fabd2frgb(250 189 47)hsl(42 95% 58%)oklch(83.2% 0.159 83.0)7.74 AAA
蓝color4#83a598rgb(131 165 152)hsl(157 16% 58%)oklch(69.3% 0.042 169.8)4.88 AA
品红color5#d3869brgb(211 134 155)hsl(344 47% 68%)oklch(70.5% 0.098 2.2)4.78 AA
青color6#8ec07crgb(142 192 124)hsl(104 35% 62%)oklch(75.6% 0.108 137.7)6.24 AA
白color7#d5c4a1rgb(213 196 161)hsl(40 38% 73%)oklch(82.5% 0.051 85.1)7.65 AAA
亮黑color8#665c54rgb(102 92 84)hsl(27 10% 36%)oklch(48.2% 0.018 61.0)2.02 低于 AA
亮红color9#fb4934rgb(251 73 52)hsl(6 96% 59%)oklch(66.0% 0.218 30.4)3.82 AA 大字号
亮绿color10#b8bb26rgb(184 187 38)hsl(61 66% 44%)oklch(76.5% 0.158 110.8)6.36 AA
亮黄color11#fabd2frgb(250 189 47)hsl(42 95% 58%)oklch(83.2% 0.159 83.0)7.74 AAA
亮蓝color12#83a598rgb(131 165 152)hsl(157 16% 58%)oklch(69.3% 0.042 169.8)4.88 AA
亮品红color13#d3869brgb(211 134 155)hsl(344 47% 68%)oklch(70.5% 0.098 2.2)4.78 AA
亮青color14#8ec07crgb(142 192 124)hsl(104 35% 62%)oklch(75.6% 0.108 137.7)6.24 AA
亮白color15#fbf1c7rgb(251 241 199)hsl(48 87% 88%)oklch(95.6% 0.055 96.2)11.57 AAA

关于 Gruvbox Dark Soft

Gruvbox Dark Soft 采用中性色调的深色背景(#32302f),默认前景色为 #d5c4a1。正文的 WCAG 对比度为 7.65:1(AAA),12 种 ANSI 彩色槽位平均对比度 5.64:1,最低 3.82:1。

色板整体色彩饱和度适中,其中红色为 #fb4934、绿色为 #b8bb26、蓝色为 #83a598、品红为 #d3869b。该配色归属 Gruvbox 主题系列。

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

该色板在上游仓库中也曾以 Gruvbox dark, soft 的名称发布

与 Gruvbox Dark Soft 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)