跳到主要內容

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/zh-tw/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)