跳到主要內容

Matcha Zen

Matcha Zen 是一套淺色終端機配色,背景色 #f5f7ea,文字色 #354029,對比度 10.1:1

取得設定檔
背景色
#f5f7ea
前景色
#354029
文字對比度
10.11:1AAA
強調色對比度
4.38:1最低 3.79
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
❯

Matcha Zen 的設定檔

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

Matcha Zen

存到 ~/.config/ghostty/themes/Matcha Zen,再在 config 或 config.ghostty 裏寫 theme = Matcha Zen

更多 Ghostty 配色
原始檔案
# Theme: Matcha Zen (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/matcha-zen?format=ghostty

palette = 0=#354029
palette = 1=#c2452a
palette = 2=#4e8c2e
palette = 3=#927000
palette = 4=#2e7c78
palette = 5=#7e5ba6
palette = 6=#2a8585
palette = 7=#56664a
palette = 8=#97a887
palette = 9=#c2452a
palette = 10=#4e8c2e
palette = 11=#b05a1e
palette = 12=#2e7c78
palette = 13=#7e5ba6
palette = 14=#2a8585
palette = 15=#354029
background = #f5f7ea
foreground = #354029
cursor-color = #4e8c2e
cursor-text = #f5f7ea
selection-background = #dde7cc
selection-foreground = #a8aa9d

Matcha Zen 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f5f7eargb(245 247 234)hsl(69 45% 94%)oklch(97.1% 0.017 113.8)—
前景色foreground#354029rgb(53 64 41)hsl(89 22% 21%)oklch(35.5% 0.041 129.1)10.11 AAA
光標cursor#4e8c2ergb(78 140 46)hsl(100 51% 36%)oklch(57.8% 0.143 136.7)3.79 AA 大字體
光標文字cursorText#f5f7eargb(245 247 234)hsl(69 45% 94%)oklch(97.1% 0.017 113.8)1.00 低於 AA
選取範圍selection#dde7ccrgb(221 231 204)hsl(82 36% 85%)oklch(91.3% 0.038 123.7)1.18 低於 AA
選取文字selectionText#a8aa9drgb(168 170 157)hsl(69 7% 64%)oklch(73.3% 0.018 114.0)2.18 低於 AA
黑color0#354029rgb(53 64 41)hsl(89 22% 21%)oklch(35.5% 0.041 129.1)10.11 AAA
紅color1#c2452argb(194 69 42)hsl(11 64% 46%)oklch(56.0% 0.165 33.8)4.64 AA
綠color2#4e8c2ergb(78 140 46)hsl(100 51% 36%)oklch(57.8% 0.143 136.7)3.79 AA 大字體
黃color3#927000rgb(146 112 0)hsl(46 100% 29%)oklch(56.3% 0.115 87.4)4.27 AA 大字體
藍color4#2e7c78rgb(46 124 120)hsl(177 46% 33%)oklch(53.8% 0.076 190.4)4.54 AA
洋紅color5#7e5ba6rgb(126 91 166)hsl(268 30% 50%)oklch(54.0% 0.119 304.2)4.92 AA
青color6#2a8585rgb(42 133 133)hsl(180 52% 34%)oklch(56.5% 0.083 195.1)4.04 AA 大字體
白color7#56664argb(86 102 74)hsl(94 16% 35%)oklch(48.9% 0.047 132.2)5.71 AA
亮黑color8#97a887rgb(151 168 135)hsl(91 16% 59%)oklch(70.9% 0.050 129.9)2.34 低於 AA
亮紅color9#c2452argb(194 69 42)hsl(11 64% 46%)oklch(56.0% 0.165 33.8)4.64 AA
亮綠color10#4e8c2ergb(78 140 46)hsl(100 51% 36%)oklch(57.8% 0.143 136.7)3.79 AA 大字體
亮黃color11#b05a1ergb(176 90 30)hsl(25 71% 40%)oklch(56.2% 0.132 50.7)4.48 AA 大字體
亮藍color12#2e7c78rgb(46 124 120)hsl(177 46% 33%)oklch(53.8% 0.076 190.4)4.54 AA
亮洋紅color13#7e5ba6rgb(126 91 166)hsl(268 30% 50%)oklch(54.0% 0.119 304.2)4.92 AA
亮青color14#2a8585rgb(42 133 133)hsl(180 52% 34%)oklch(56.5% 0.083 195.1)4.04 AA 大字體
亮白color15#354029rgb(53 64 41)hsl(89 22% 21%)oklch(35.5% 0.041 129.1)10.11 AAA

關於 Matcha Zen

Matcha Zen 採用中性色調的淺色背景(#f5f7ea),預設前景色為 #354029。正文的 WCAG 對比度為 10.11:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.38:1,最低 3.79:1。

色板整體色彩飽和度適中,其中紅色為 #c2452a、綠色為 #4e8c2e、藍色為 #2e7c78、洋紅為 #7e5ba6。

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

與 Matcha Zen 相似的配色

資料來源:iTerm2 Color Schemes (MIT)