跳到主要內容

Melange Dark

Melange Dark 是一套深色終端機配色(低飽和),背景色 #292522,文字色 #ece1d7,對比度 11.8:1

取得設定檔
背景色
#292522
前景色
#ece1d7
文字對比度
11.81:1AAA
強調色對比度
5.89:1最低 4.77
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
❯

Melange Dark 的設定檔

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

Melange Dark

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

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

palette = 0=#34302c
palette = 1=#bd8183
palette = 2=#78997a
palette = 3=#e49b5d
palette = 4=#7f91b2
palette = 5=#b380b0
palette = 6=#7b9695
palette = 7=#c1a78e
palette = 8=#867462
palette = 9=#d47766
palette = 10=#85b695
palette = 11=#ebc06d
palette = 12=#a3a9ce
palette = 13=#cf9bc2
palette = 14=#89b3b6
palette = 15=#ece1d7
background = #292522
foreground = #ece1d7
cursor-color = #ece1d7
cursor-text = #292522
selection-background = #ece1d7
selection-foreground = #403a36

Melange Dark 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#292522rgb(41 37 34)hsl(26 9% 15%)oklch(26.8% 0.008 59.3)—
前景色foreground#ece1d7rgb(236 225 215)hsl(29 36% 88%)oklch(91.6% 0.018 64.9)11.81 AAA
光標cursor#ece1d7rgb(236 225 215)hsl(29 36% 88%)oklch(91.6% 0.018 64.9)11.81 AAA
光標文字cursorText#292522rgb(41 37 34)hsl(26 9% 15%)oklch(26.8% 0.008 59.3)1.00 低於 AA
選取範圍selection#ece1d7rgb(236 225 215)hsl(29 36% 88%)oklch(91.6% 0.018 64.9)11.81 AAA
選取文字selectionText#403a36rgb(64 58 54)hsl(24 8% 23%)oklch(35.3% 0.011 56.0)1.36 低於 AA
黑color0#34302crgb(52 48 44)hsl(30 8% 19%)oklch(31.2% 0.009 67.5)1.16 低於 AA
紅color1#bd8183rgb(189 129 131)hsl(358 31% 62%)oklch(66.4% 0.075 17.1)4.80 AA
綠color2#78997argb(120 153 122)hsl(124 14% 54%)oklch(64.9% 0.059 146.4)4.80 AA
黃color3#e49b5drgb(228 155 93)hsl(28 71% 63%)oklch(74.9% 0.117 59.9)6.62 AA
藍color4#7f91b2rgb(127 145 178)hsl(219 25% 60%)oklch(65.4% 0.054 262.5)4.77 AA
洋紅color5#b380b0rgb(179 128 176)hsl(304 25% 60%)oklch(66.6% 0.091 328.5)4.80 AA
青color6#7b9695rgb(123 150 149)hsl(178 11% 54%)oklch(65.2% 0.030 193.7)4.80 AA
白color7#c1a78ergb(193 167 142)hsl(29 29% 66%)oklch(74.5% 0.046 65.9)6.65 AA
亮黑color8#867462rgb(134 116 98)hsl(30 16% 45%)oklch(57.1% 0.035 67.0)3.39 AA 大字體
亮紅color9#d47766rgb(212 119 102)hsl(9 56% 62%)oklch(66.8% 0.120 31.4)4.80 AA
亮綠color10#85b695rgb(133 182 149)hsl(140 25% 62%)oklch(73.2% 0.071 154.9)6.60 AA
亮黃color11#ebc06drgb(235 192 109)hsl(40 76% 67%)oklch(82.9% 0.113 82.5)8.90 AAA
亮藍color12#a3a9cergb(163 169 206)hsl(232 30% 72%)oklch(74.3% 0.054 277.8)6.60 AA
亮洋紅color13#cf9bc2rgb(207 155 194)hsl(315 35% 71%)oklch(75.0% 0.081 335.6)6.60 AA
亮青color14#89b3b6rgb(137 179 182)hsl(184 24% 63%)oklch(73.7% 0.045 201.7)6.65 AA
亮白color15#ece1d7rgb(236 225 215)hsl(29 36% 88%)oklch(91.6% 0.018 64.9)11.81 AAA

關於 Melange Dark

Melange Dark 採用中性色調的深色背景(#292522),預設前景色為 #ece1d7。正文的 WCAG 對比度為 11.81:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.89:1,最低 4.77:1。

色板整體色彩飽和度偏低,其中紅色為 #bd8183、綠色為 #78997a、藍色為 #7f91b2、洋紅為 #b380b0。該配色歸屬 Melange 主題系列。

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

與 Melange Dark 相似的配色

資料來源:iTerm2 Color Schemes (MIT)