跳到主要內容

Mashup Colors

Mashup Colors 是一套深色終端機配色,背景色 #171717,文字色 #b2a191,對比度 7.2:1

取得設定檔
背景色
#171717
前景色
#b2a191
文字對比度
7.17:1AAA
強調色對比度
5.71:1最低 2.72
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
❯

Mashup Colors 的設定檔

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

Mashup Colors

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

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

palette = 0=#202020
palette = 1=#bf3f34
palette = 2=#707d22
palette = 3=#bf7a29
palette = 4=#627a92
palette = 5=#75507b
palette = 6=#757978
palette = 7=#b2a191
palette = 8=#404040
palette = 9=#ff6c5f
palette = 10=#b8ca4b
palette = 11=#c7a551
palette = 12=#95b9de
palette = 13=#ad7fa8
palette = 14=#9fa590
palette = 15=#e8d0c3
background = #171717
foreground = #b2a191
cursor-color = #b2a191
cursor-text = #171717
selection-background = #393532
selection-foreground = #b2a191

Mashup Colors 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#171717rgb(23 23 23)hsl(0 0% 9%)oklch(20.5% 0.000 0)—
前景色foreground#b2a191rgb(178 161 145)hsl(29 18% 63%)oklch(71.9% 0.030 65.6)7.17 AAA
光標cursor#b2a191rgb(178 161 145)hsl(29 18% 63%)oklch(71.9% 0.030 65.6)7.17 AAA
光標文字cursorText#171717rgb(23 23 23)hsl(0 0% 9%)oklch(20.5% 0.000 0)1.00 低於 AA
選取範圍selection#393532rgb(57 53 50)hsl(26 7% 21%)oklch(33.2% 0.008 59.4)1.48 低於 AA
選取文字selectionText#b2a191rgb(178 161 145)hsl(29 18% 63%)oklch(71.9% 0.030 65.6)7.17 AAA
黑color0#202020rgb(32 32 32)hsl(0 0% 13%)oklch(24.4% 0.000 0)1.10 低於 AA
紅color1#bf3f34rgb(191 63 52)hsl(5 57% 48%)oklch(54.9% 0.166 28.6)3.39 AA 大字體
綠color2#707d22rgb(112 125 34)hsl(69 57% 31%)oklch(56.1% 0.114 117.3)3.97 AA 大字體
黃color3#bf7a29rgb(191 122 41)hsl(32 65% 45%)oklch(63.9% 0.126 65.5)5.15 AA
藍color4#627a92rgb(98 122 146)hsl(210 20% 48%)oklch(57.0% 0.047 248.7)4.03 AA 大字體
洋紅color5#75507brgb(117 80 123)hsl(292 21% 40%)oklch(48.8% 0.080 321.8)2.72 低於 AA
青color6#757978rgb(117 121 120)hsl(165 2% 47%)oklch(57.2% 0.005 179.6)4.07 AA 大字體
白color7#b2a191rgb(178 161 145)hsl(29 18% 63%)oklch(71.9% 0.030 65.6)7.17 AAA
亮黑color8#404040rgb(64 64 64)hsl(0 0% 25%)oklch(37.1% 0.000 0)1.73 低於 AA
亮紅color9#ff6c5frgb(255 108 95)hsl(5 100% 69%)oklch(71.1% 0.182 27.7)6.46 AA
亮綠color10#b8ca4brgb(184 202 75)hsl(69 55% 54%)oklch(80.1% 0.151 116.8)9.89 AAA
亮黃color11#c7a551rgb(199 165 81)hsl(43 51% 55%)oklch(73.6% 0.110 87.4)7.62 AAA
亮藍color12#95b9dergb(149 185 222)hsl(210 53% 73%)oklch(77.2% 0.066 249.4)8.77 AAA
亮洋紅color13#ad7fa8rgb(173 127 168)hsl(307 22% 59%)oklch(65.5% 0.080 330.2)5.44 AA
亮青color14#9fa590rgb(159 165 144)hsl(77 10% 61%)oklch(71.1% 0.030 120.1)7.05 AAA
亮白color15#e8d0c3rgb(232 208 195)hsl(21 45% 84%)oklch(87.4% 0.032 50.4)12.16 AAA

關於 Mashup Colors

Mashup Colors 採用中性色調的深色背景(#171717),預設前景色為 #b2a191。正文的 WCAG 對比度為 7.17:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.71:1,最低 2.72:1。

色板整體色彩飽和度適中,其中紅色為 #bf3f34、綠色為 #707d22、藍色為 #627a92、洋紅為 #75507b。

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

與 Mashup Colors 相似的配色

資料來源:terminal.sexy (MIT)