跳到正文

Mauve

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

获取配置
背景色
#372638
前景色
#af92b2
文字对比度
5.06:1AA
强调色对比度
6.54:1最低 2.12
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 的配置文件

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

Mauve

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

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

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

Mauve 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#372638rgb(55 38 56)hsl(297 19% 18%)oklch(29.6% 0.040 324.7)—
前景色foreground#af92b2rgb(175 146 178)hsl(294 17% 64%)oklch(69.7% 0.057 323.1)5.06 AA
光标cursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)13.15 AAA
光标文字cursorText#af92b2rgb(175 146 178)hsl(294 17% 64%)oklch(69.7% 0.057 323.1)5.06 AA
选区selection#c89933rgb(200 153 51)hsl(41 59% 49%)oklch(71.0% 0.128 82.8)5.38 AA
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.03 AAA
黑color0#463047rgb(70 48 71)hsl(297 19% 23%)oklch(34.4% 0.049 325.1)1.19 低于 AA
红color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.13 低于 AA
绿color2#c89933rgb(200 153 51)hsl(41 59% 49%)oklch(71.0% 0.128 82.8)5.38 AA
黄color3#74526crgb(116 82 108)hsl(314 17% 39%)oklch(48.4% 0.059 335.2)2.12 低于 AA
蓝color4#dbd053rgb(219 208 83)hsl(55 65% 59%)oklch(84.3% 0.145 104.3)8.79 AAA
品红color5#c89933rgb(200 153 51)hsl(41 59% 49%)oklch(71.0% 0.128 82.8)5.38 AA
青color6#dbd053rgb(219 208 83)hsl(55 65% 59%)oklch(84.3% 0.145 104.3)8.79 AAA
白color7#baa1bdrgb(186 161 189)hsl(294 18% 69%)oklch(74.0% 0.049 322.6)5.96 AA
亮黑color8#644566rgb(100 69 102)hsl(296 19% 34%)oklch(43.7% 0.066 324.6)1.73 低于 AA
亮红color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)3.10 AA 大字号
亮绿color10#dfc282rgb(223 194 130)hsl(41 59% 69%)oklch(82.4% 0.088 86.1)8.14 AAA
亮黄color11#a884a0rgb(168 132 160)hsl(313 17% 59%)oklch(65.6% 0.059 334.2)4.32 AA 大字号
亮蓝color12#ede7a7rgb(237 231 167)hsl(55 66% 79%)oklch(91.8% 0.082 103.4)11.08 AAA
亮品红color13#dfc282rgb(223 194 130)hsl(41 59% 69%)oklch(82.4% 0.088 86.1)8.14 AAA
亮青color14#ede7a7rgb(237 231 167)hsl(55 66% 79%)oklch(91.8% 0.082 103.4)11.08 AAA
亮白color15#d0bfd2rgb(208 191 210)hsl(294 17% 79%)oklch(82.4% 0.032 322.6)8.06 AAA

关于 Mauve

Mauve 采用中性色调的深色背景(#372638),默认前景色为 #af92b2。正文的 WCAG 对比度为 5.06:1(AA),12 种 ANSI 彩色槽位平均对比度 6.54:1,最低 2.12: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 相似的配色

数据来源:Rainglow (MIT)