跳到主要內容

Gruvbox Material Medium Dark

Gruvbox Material Medium Dark 是一套深色終端機配色,背景色 #282828,文字色 #d4be98,對比度 8.2:1

取得設定檔
背景色
#282828
前景色
#d4be98
文字對比度
8.16:1AAA
強調色對比度
5.94:1最低 4.70
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 Material Medium Dark 的設定檔

16 種格式,都從同一份色票產生

Gruvbox Material Medium Dark

存到 ~/.config/ghostty/themes/Gruvbox Material Medium Dark,再在 config 或 config.ghostty 裡寫 theme = Gruvbox Material Medium Dark

更多 Ghostty 配色
原始檔
# Theme: Gruvbox Material Medium Dark (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/gruvbox-material-medium-dark?format=ghostty

palette = 0=#3c3836
palette = 1=#ea6962
palette = 2=#a9b665
palette = 3=#d8a657
palette = 4=#7daea3
palette = 5=#d3869b
palette = 6=#89b482
palette = 7=#d4be98
palette = 8=#3c3836
palette = 9=#ea6962
palette = 10=#a9b665
palette = 11=#d8a657
palette = 12=#7daea3
palette = 13=#d3869b
palette = 14=#89b482
palette = 15=#d4be98
background = #282828
foreground = #d4be98
cursor-color = #d4be98
cursor-text = #282828
selection-background = #4e4a42
selection-foreground = #d4be98

Gruvbox Material Medium Dark 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#282828rgb(40 40 40)hsl(0 0% 16%)oklch(27.7% 0.000 0)—
前景色foreground#d4be98rgb(212 190 152)hsl(38 41% 71%)oklch(81.1% 0.057 81.2)8.16 AAA
游標cursor#d4be98rgb(212 190 152)hsl(38 41% 71%)oklch(81.1% 0.057 81.2)8.16 AAA
游標文字cursorText#282828rgb(40 40 40)hsl(0 0% 16%)oklch(27.7% 0.000 0)1.00 低於 AA
選取範圍selection#4e4a42rgb(78 74 66)hsl(40 8% 28%)oklch(41.0% 0.014 84.6)1.67 低於 AA
選取文字selectionText#d4be98rgb(212 190 152)hsl(38 41% 71%)oklch(81.1% 0.057 81.2)8.16 AAA
黑color0#3c3836rgb(60 56 54)hsl(20 5% 22%)oklch(34.4% 0.007 48.5)1.27 低於 AA
紅color1#ea6962rgb(234 105 98)hsl(3 76% 65%)oklch(67.7% 0.161 25.4)4.70 AA
綠color2#a9b665rgb(169 182 101)hsl(70 36% 55%)oklch(74.8% 0.107 116.5)6.72 AA
黃color3#d8a657rgb(216 166 87)hsl(37 62% 59%)oklch(75.6% 0.113 77.0)6.68 AA
藍color4#7daea3rgb(125 174 163)hsl(167 23% 59%)oklch(71.3% 0.055 179.2)5.94 AA
洋紅color5#d3869brgb(211 134 155)hsl(344 47% 68%)oklch(70.5% 0.098 2.2)5.37 AA
青color6#89b482rgb(137 180 130)hsl(112 25% 61%)oklch(72.6% 0.085 141.1)6.26 AA
白color7#d4be98rgb(212 190 152)hsl(38 41% 71%)oklch(81.1% 0.057 81.2)8.16 AAA
亮黑color8#3c3836rgb(60 56 54)hsl(20 5% 22%)oklch(34.4% 0.007 48.5)1.27 低於 AA
亮紅color9#ea6962rgb(234 105 98)hsl(3 76% 65%)oklch(67.7% 0.161 25.4)4.70 AA
亮綠color10#a9b665rgb(169 182 101)hsl(70 36% 55%)oklch(74.8% 0.107 116.5)6.72 AA
亮黃color11#d8a657rgb(216 166 87)hsl(37 62% 59%)oklch(75.6% 0.113 77.0)6.68 AA
亮藍color12#7daea3rgb(125 174 163)hsl(167 23% 59%)oklch(71.3% 0.055 179.2)5.94 AA
亮洋紅color13#d3869brgb(211 134 155)hsl(344 47% 68%)oklch(70.5% 0.098 2.2)5.37 AA
亮青color14#89b482rgb(137 180 130)hsl(112 25% 61%)oklch(72.6% 0.085 141.1)6.26 AA
亮白color15#d4be98rgb(212 190 152)hsl(38 41% 71%)oklch(81.1% 0.057 81.2)8.16 AAA

關於 Gruvbox Material Medium Dark

Gruvbox Material Medium Dark 採用中性色調的深色背景(#282828),預設前景色為 #d4be98。內文的 WCAG 對比度為 8.16:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.94:1,最低 4.70:1。

色票整體色彩彩度適中,其中紅色為 #ea6962、綠色為 #a9b665、藍色為 #7daea3、洋紅為 #d3869b。此配色歸屬 Gruvbox 主題系列。

支援一鍵匯出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 終端機設定檔,同時提供 VS Code 與 Zed 整合式終端機、CSS 變數、Tailwind CSS 及 JSON 色票格式。

與 Gruvbox Material Medium Dark 相似的配色

資料來源:Alacritty Theme (Apache-2.0)