跳到正文

Mauve Contrast

Mauve Contrast 是一套深色终端配色(柔和),背景色 #191119,文字色 #af92b2,对比度 6.7:1

获取配置
背景色
#191119
前景色
#af92b2
文字对比度
6.67:1AA
强调色对比度
8.62:1最低 2.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
❯

Mauve Contrast 的配置文件

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

Mauve Contrast

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

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

palette = 0=#281b28
palette = 1=#ba0e2e
palette = 2=#c89933
palette = 3=#74526c
palette = 4=#dbd053
palette = 5=#c89933
palette = 6=#dbd053
palette = 7=#baa1bd
palette = 8=#473047
palette = 9=#e61f44
palette = 10=#dfc282
palette = 11=#a884a0
palette = 12=#ede7a7
palette = 13=#dfc282
palette = 14=#ede7a7
palette = 15=#d0bfd2
background = #191119
foreground = #af92b2
cursor-color = #f8f8f0
cursor-text = #af92b2
selection-background = #c89933
selection-foreground = #ffffff

Mauve Contrast 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#191119rgb(25 17 25)hsl(300 19% 8%)oklch(19.2% 0.020 326.3)—
前景色foreground#af92b2rgb(175 146 178)hsl(294 17% 64%)oklch(69.7% 0.057 323.1)6.67 AA
光标cursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)17.33 AAA
光标文字cursorText#af92b2rgb(175 146 178)hsl(294 17% 64%)oklch(69.7% 0.057 323.1)6.67 AA
选区selection#c89933rgb(200 153 51)hsl(41 59% 49%)oklch(71.0% 0.128 82.8)7.10 AAA
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.49 AAA
黑color0#281b28rgb(40 27 40)hsl(300 19% 13%)oklch(24.4% 0.031 326.5)1.13 低于 AA
红color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.81 低于 AA
绿color2#c89933rgb(200 153 51)hsl(41 59% 49%)oklch(71.0% 0.128 82.8)7.10 AAA
黄color3#74526crgb(116 82 108)hsl(314 17% 39%)oklch(48.4% 0.059 335.2)2.79 低于 AA
蓝color4#dbd053rgb(219 208 83)hsl(55 65% 59%)oklch(84.3% 0.145 104.3)11.59 AAA
品红color5#c89933rgb(200 153 51)hsl(41 59% 49%)oklch(71.0% 0.128 82.8)7.10 AAA
青color6#dbd053rgb(219 208 83)hsl(55 65% 59%)oklch(84.3% 0.145 104.3)11.59 AAA
白color7#baa1bdrgb(186 161 189)hsl(294 18% 69%)oklch(74.0% 0.049 322.6)7.86 AAA
亮黑color8#473047rgb(71 48 71)hsl(300 19% 23%)oklch(34.5% 0.050 326.6)1.57 低于 AA
亮红color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)4.09 AA 大字号
亮绿color10#dfc282rgb(223 194 130)hsl(41 59% 69%)oklch(82.4% 0.088 86.1)10.72 AAA
亮黄color11#a884a0rgb(168 132 160)hsl(313 17% 59%)oklch(65.6% 0.059 334.2)5.70 AA
亮蓝color12#ede7a7rgb(237 231 167)hsl(55 66% 79%)oklch(91.8% 0.082 103.4)14.61 AAA
亮品红color13#dfc282rgb(223 194 130)hsl(41 59% 69%)oklch(82.4% 0.088 86.1)10.72 AAA
亮青color14#ede7a7rgb(237 231 167)hsl(55 66% 79%)oklch(91.8% 0.082 103.4)14.61 AAA
亮白color15#d0bfd2rgb(208 191 210)hsl(294 17% 79%)oklch(82.4% 0.032 322.6)10.62 AAA

关于 Mauve Contrast

Mauve Contrast 采用中性色调的深色背景(#191119),默认前景色为 #af92b2。正文的 WCAG 对比度为 6.67:1(AA),12 种 ANSI 彩色槽位平均对比度 8.62:1,最低 2.79:1。

色板整体色彩饱和度适中,其中红色为 #ba0e2e、绿色为 #c89933、蓝色为 #dbd053、品红为 #c89933。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Mauve Contrast 相似的配色

数据来源:Rainglow (MIT)