跳到主要內容

Gruvbox Light Medium

Gruvbox Light Medium 是一套淺色終端機配色(暖色),背景色 #fbf1c7,文字色 #504945,對比度 7.8:1

取得設定檔
背景色
#fbf1c7
前景色
#504945
文字對比度
7.78:1AAA
強調色對比度
5.23:1最低 3.33
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 Light Medium 的設定檔

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

Gruvbox Light Medium

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

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

palette = 0=#fbf1c7
palette = 1=#9d0006
palette = 2=#79740e
palette = 3=#b57614
palette = 4=#076678
palette = 5=#8f3f71
palette = 6=#427b58
palette = 7=#504945
palette = 8=#bdae93
palette = 9=#9d0006
palette = 10=#79740e
palette = 11=#b57614
palette = 12=#076678
palette = 13=#8f3f71
palette = 14=#427b58
palette = 15=#282828
background = #fbf1c7
foreground = #504945
cursor-color = #504945
cursor-text = #fbf1c7
selection-background = #cdc4a4
selection-foreground = #504945

Gruvbox Light Medium 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#fbf1c7rgb(251 241 199)hsl(48 87% 88%)oklch(95.6% 0.055 96.2)—
前景色foreground#504945rgb(80 73 69)hsl(22 7% 29%)oklch(41.1% 0.012 51.9)7.78 AAA
游標cursor#504945rgb(80 73 69)hsl(22 7% 29%)oklch(41.1% 0.012 51.9)7.78 AAA
游標文字cursorText#fbf1c7rgb(251 241 199)hsl(48 87% 88%)oklch(95.6% 0.055 96.2)1.00 低於 AA
選取範圍selection#cdc4a4rgb(205 196 164)hsl(47 29% 72%)oklch(81.9% 0.044 94.1)1.54 低於 AA
選取文字selectionText#504945rgb(80 73 69)hsl(22 7% 29%)oklch(41.1% 0.012 51.9)7.78 AAA
黑color0#fbf1c7rgb(251 241 199)hsl(48 87% 88%)oklch(95.6% 0.055 96.2)1.00 低於 AA
紅color1#9d0006rgb(157 0 6)hsl(358 100% 31%)oklch(43.7% 0.179 28.3)7.60 AAA
綠color2#79740ergb(121 116 14)hsl(57 79% 26%)oklch(54.6% 0.112 106.5)4.29 AA 大字級
黃color3#b57614rgb(181 118 20)hsl(37 80% 39%)oklch(61.8% 0.128 70.7)3.33 AA 大字級
藍color4#076678rgb(7 102 120)hsl(190 89% 25%)oklch(47.1% 0.082 215.8)5.82 AA
洋紅color5#8f3f71rgb(143 63 113)hsl(323 39% 40%)oklch(48.9% 0.124 344.3)5.94 AA
青color6#427b58rgb(66 123 88)hsl(143 30% 37%)oklch(53.4% 0.082 155.4)4.40 AA 大字級
白color7#504945rgb(80 73 69)hsl(22 7% 29%)oklch(41.1% 0.012 51.9)7.78 AAA
亮黑color8#bdae93rgb(189 174 147)hsl(39 24% 66%)oklch(75.6% 0.041 82.3)1.92 低於 AA
亮紅color9#9d0006rgb(157 0 6)hsl(358 100% 31%)oklch(43.7% 0.179 28.3)7.60 AAA
亮綠color10#79740ergb(121 116 14)hsl(57 79% 26%)oklch(54.6% 0.112 106.5)4.29 AA 大字級
亮黃color11#b57614rgb(181 118 20)hsl(37 80% 39%)oklch(61.8% 0.128 70.7)3.33 AA 大字級
亮藍color12#076678rgb(7 102 120)hsl(190 89% 25%)oklch(47.1% 0.082 215.8)5.82 AA
亮洋紅color13#8f3f71rgb(143 63 113)hsl(323 39% 40%)oklch(48.9% 0.124 344.3)5.94 AA
亮青color14#427b58rgb(66 123 88)hsl(143 30% 37%)oklch(53.4% 0.082 155.4)4.40 AA 大字級
亮白color15#282828rgb(40 40 40)hsl(0 0% 16%)oklch(27.7% 0.000 0)12.99 AAA

關於 Gruvbox Light Medium

Gruvbox Light Medium 採用暖色調的淺色背景(#fbf1c7),預設前景色為 #504945。內文的 WCAG 對比度為 7.78:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.23:1,最低 3.33:1。

色票整體色彩彩度適中,其中紅色為 #9d0006、綠色為 #79740e、藍色為 #076678、洋紅為 #8f3f71。此配色歸屬 Gruvbox 主題系列。

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

此色票在上游儲存庫中也曾以 Gruvbox light, medium 的名稱發布

與 Gruvbox Light Medium 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)