跳到正文

Monzo Contrast

Monzo Contrast 是一套深色终端配色(冷色),背景色 #0b1421,文字色 #b0cbf4,对比度 11.2:1

获取配置
背景色
#0b1421
前景色
#b0cbf4
文字对比度
11.17:1AAA
强调色对比度
8.01:1最低 2.81
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 Contrast 的配置文件

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

Monzo Contrast

存到 ~/.config/ghostty/themes/Monzo Contrast,再在 config 或 config.ghostty 里写 theme = Monzo Contrast

更多 Ghostty 配色
原始文件
# Theme: Monzo Contrast (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/monzo-contrast?format=ghostty

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

Monzo Contrast 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#0b1421rgb(11 20 33)hsl(215 50% 9%)oklch(19.0% 0.030 257.5)—
前景色foreground#b0cbf4rgb(176 203 244)hsl(216 76% 82%)oklch(83.6% 0.065 258.6)11.17 AAA
光标cursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)17.32 AAA
光标文字cursorText#b0cbf4rgb(176 203 244)hsl(216 76% 82%)oklch(83.6% 0.065 258.6)11.17 AAA
选区selection#98baa6rgb(152 186 166)hsl(145 20% 66%)oklch(75.8% 0.047 159.3)8.72 AAA
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.48 AAA
黑color0#112034rgb(17 32 52)hsl(214 51% 14%)oklch(24.1% 0.044 256.0)1.13 低于 AA
红color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.81 低于 AA
绿color2#98baa6rgb(152 186 166)hsl(145 20% 66%)oklch(75.8% 0.047 159.3)8.72 AAA
黄color3#247888rgb(36 120 136)hsl(190 58% 34%)oklch(53.1% 0.081 213.1)3.62 AA 大字号
蓝color4#e6ce9frgb(230 206 159)hsl(40 59% 76%)oklch(86.0% 0.067 84.0)12.05 AAA
品红color5#e14d61rgb(225 77 97)hsl(352 71% 59%)oklch(62.8% 0.183 16.3)4.78 AA
青color6#247888rgb(36 120 136)hsl(190 58% 34%)oklch(53.1% 0.081 213.1)3.62 AA 大字号
白color7#c6daf7rgb(198 218 247)hsl(216 75% 87%)oklch(88.3% 0.046 257.6)13.00 AAA
亮黑color8#1e375argb(30 55 90)hsl(215 50% 24%)oklch(33.5% 0.070 257.1)1.54 低于 AA
亮红color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)4.09 AA 大字号
亮绿color10#d5e3dbrgb(213 227 219)hsl(146 20% 86%)oklch(90.3% 0.018 161.1)13.94 AAA
亮黄color11#44b8cergb(68 184 206)hsl(190 58% 54%)oklch(72.7% 0.106 212.6)7.91 AAA
亮蓝color12#fbf7f0rgb(251 247 240)hsl(38 58% 96%)oklch(97.7% 0.010 81.8)17.31 AAA
亮品红color13#f0a4aergb(240 164 174)hsl(352 72% 79%)oklch(79.5% 0.091 10.7)9.35 AAA
亮青color14#44b8cergb(68 184 206)hsl(190 58% 54%)oklch(72.7% 0.106 212.6)7.91 AAA
亮白color15#f3f7fdrgb(243 247 253)hsl(216 71% 97%)oklch(97.5% 0.009 258.3)17.19 AAA

关于 Monzo Contrast

Monzo Contrast 采用冷色调的深色背景(#0b1421),默认前景色为 #b0cbf4。正文的 WCAG 对比度为 11.17:1(AAA),12 种 ANSI 彩色槽位平均对比度 8.01:1,最低 2.81: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 Contrast 相似的配色

数据来源:Rainglow (MIT)