跳到主要內容

Monzo

Monzo 是一套深色終端機配色(冷色),背景色 #15243b,文字色 #b0cbf4,對比度 9.4:1

取得設定檔
背景色
#15243b
前景色
#b0cbf4
文字對比度
9.42:1AAA
強調色對比度
6.76:1最低 2.37
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
❯

Monzo 的設定檔

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

Monzo

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

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

palette = 0=#1c2f4e
palette = 1=#ba0e2e
palette = 2=#98baa6
palette = 3=#247888
palette = 4=#e6ce9f
palette = 5=#e14d61
palette = 6=#247888
palette = 7=#c6daf7
palette = 8=#294673
palette = 9=#e61f44
palette = 10=#d5e3db
palette = 11=#44b8ce
palette = 12=#fbf7f0
palette = 13=#f0a4ae
palette = 14=#44b8ce
palette = 15=#f3f7fd
background = #15243b
foreground = #b0cbf4
cursor-color = #f8f8f0
cursor-text = #b0cbf4
selection-background = #98baa6
selection-foreground = #ffffff

Monzo 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#15243brgb(21 36 59)hsl(216 48% 16%)oklch(25.9% 0.048 258.7)—
前景色foreground#b0cbf4rgb(176 203 244)hsl(216 76% 82%)oklch(83.6% 0.065 258.6)9.42 AAA
光標cursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)14.60 AAA
光標文字cursorText#b0cbf4rgb(176 203 244)hsl(216 76% 82%)oklch(83.6% 0.065 258.6)9.42 AAA
選取範圍selection#98baa6rgb(152 186 166)hsl(145 20% 66%)oklch(75.8% 0.047 159.3)7.35 AAA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.59 AAA
黑color0#1c2f4ergb(28 47 78)hsl(217 47% 21%)oklch(30.6% 0.062 259.8)1.16 低於 AA
紅color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.37 低於 AA
綠color2#98baa6rgb(152 186 166)hsl(145 20% 66%)oklch(75.8% 0.047 159.3)7.35 AAA
黃color3#247888rgb(36 120 136)hsl(190 58% 34%)oklch(53.1% 0.081 213.1)3.06 AA 大字體
藍color4#e6ce9frgb(230 206 159)hsl(40 59% 76%)oklch(86.0% 0.067 84.0)10.16 AAA
洋紅color5#e14d61rgb(225 77 97)hsl(352 71% 59%)oklch(62.8% 0.183 16.3)4.03 AA 大字體
青color6#247888rgb(36 120 136)hsl(190 58% 34%)oklch(53.1% 0.081 213.1)3.06 AA 大字體
白color7#c6daf7rgb(198 218 247)hsl(216 75% 87%)oklch(88.3% 0.046 257.6)10.96 AAA
亮黑color8#294673rgb(41 70 115)hsl(216 47% 31%)oklch(39.5% 0.084 258.9)1.65 低於 AA
亮紅color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)3.45 AA 大字體
亮綠color10#d5e3dbrgb(213 227 219)hsl(146 20% 86%)oklch(90.3% 0.018 161.1)11.76 AAA
亮黃color11#44b8cergb(68 184 206)hsl(190 58% 54%)oklch(72.7% 0.106 212.6)6.67 AA
亮藍color12#fbf7f0rgb(251 247 240)hsl(38 58% 96%)oklch(97.7% 0.010 81.8)14.59 AAA
亮洋紅color13#f0a4aergb(240 164 174)hsl(352 72% 79%)oklch(79.5% 0.091 10.7)7.89 AAA
亮青color14#44b8cergb(68 184 206)hsl(190 58% 54%)oklch(72.7% 0.106 212.6)6.67 AA
亮白color15#f3f7fdrgb(243 247 253)hsl(216 71% 97%)oklch(97.5% 0.009 258.3)14.50 AAA

關於 Monzo

Monzo 採用冷色調的深色背景(#15243b),預設前景色為 #b0cbf4。正文的 WCAG 對比度為 9.42:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.76:1,最低 2.37:1。

色板整體色彩飽和度適中,其中紅色為 #ba0e2e、綠色為 #98baa6、藍色為 #e6ce9f、洋紅為 #e14d61。

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

與 Monzo 相似的配色

資料來源:Rainglow (MIT)