跳到主要內容

Melange Light

Melange Light 是一套淺色終端機配色,背景色 #f1f1f1,文字色 #54433a,對比度 8.3:1

取得設定檔
背景色
#f1f1f1
前景色
#54433a
文字對比度
8.30:1AAA
強調色對比度
4.21:1最低 2.80
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 Light 的設定檔

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

Melange Light

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

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

palette = 0=#e9e1db
palette = 1=#c77b8b
palette = 2=#6e9b72
palette = 3=#bc5c00
palette = 4=#7892bd
palette = 5=#be79bb
palette = 6=#739797
palette = 7=#7d6658
palette = 8=#a98a78
palette = 9=#bf0021
palette = 10=#3a684a
palette = 11=#a06d00
palette = 12=#465aa4
palette = 13=#904180
palette = 14=#3d6568
palette = 15=#54433a
background = #f1f1f1
foreground = #54433a
cursor-color = #54433a
cursor-text = #f1f1f1
selection-background = #54433a
selection-foreground = #d9d3ce

Melange Light 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f1f1f1rgb(241 241 241)hsl(0 0% 95%)oklch(95.8% 0.000 0)—
前景色foreground#54433argb(84 67 58)hsl(21 18% 28%)oklch(39.8% 0.028 49.4)8.30 AAA
游標cursor#54433argb(84 67 58)hsl(21 18% 28%)oklch(39.8% 0.028 49.4)8.30 AAA
游標文字cursorText#f1f1f1rgb(241 241 241)hsl(0 0% 95%)oklch(95.8% 0.000 0)1.00 低於 AA
選取範圍selection#54433argb(84 67 58)hsl(21 18% 28%)oklch(39.8% 0.028 49.4)8.30 AAA
選取文字selectionText#d9d3cergb(217 211 206)hsl(27 13% 83%)oklch(87.0% 0.010 62.6)1.31 低於 AA
黑color0#e9e1dbrgb(233 225 219)hsl(26 24% 89%)oklch(91.4% 0.012 59.6)1.14 低於 AA
紅color1#c77b8brgb(199 123 139)hsl(347 40% 63%)oklch(66.8% 0.096 6.4)2.80 低於 AA
綠color2#6e9b72rgb(110 155 114)hsl(125 18% 52%)oklch(64.6% 0.078 146.8)2.82 低於 AA
黃color3#bc5c00rgb(188 92 0)hsl(29 100% 37%)oklch(58.1% 0.148 52.6)3.98 AA 大字級
藍color4#7892bdrgb(120 146 189)hsl(217 34% 61%)oklch(65.6% 0.071 260.3)2.80 低於 AA
洋紅color5#be79bbrgb(190 121 187)hsl(303 35% 61%)oklch(67.1% 0.122 328.4)2.80 低於 AA
青color6#739797rgb(115 151 151)hsl(180 15% 52%)oklch(65.0% 0.040 196.2)2.82 低於 AA
白color7#7d6658rgb(125 102 88)hsl(23 17% 42%)oklch(52.9% 0.037 53.0)4.75 AA
亮黑color8#a98a78rgb(169 138 120)hsl(22 22% 57%)oklch(65.7% 0.046 51.8)2.82 低於 AA
亮紅color9#bf0021rgb(191 0 33)hsl(350 100% 37%)oklch(50.7% 0.205 24.2)5.74 AA
亮綠color10#3a684argb(58 104 74)hsl(141 28% 32%)oklch(47.5% 0.071 154.2)5.71 AA
亮黃color11#a06d00rgb(160 109 0)hsl(41 100% 31%)oklch(57.4% 0.120 76.5)3.97 AA 大字級
亮藍color12#465aa4rgb(70 90 164)hsl(227 40% 46%)oklch(48.9% 0.121 270.1)5.71 AA
亮洋紅color13#904180rgb(144 65 128)hsl(312 38% 41%)oklch(50.0% 0.133 335.8)5.71 AA
亮青color14#3d6568rgb(61 101 104)hsl(184 26% 32%)oklch(47.8% 0.045 201.8)5.70 AA
亮白color15#54433argb(84 67 58)hsl(21 18% 28%)oklch(39.8% 0.028 49.4)8.30 AAA

關於 Melange Light

Melange Light 採用中性色調的淺色背景(#f1f1f1),預設前景色為 #54433a。內文的 WCAG 對比度為 8.30:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.21:1,最低 2.80:1。

色票整體色彩彩度適中,其中紅色為 #c77b8b、綠色為 #6e9b72、藍色為 #7892bd、洋紅為 #be79bb。此配色歸屬 Melange 主題系列。

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

與 Melange Light 相似的配色

資料來源:iTerm2 Color Schemes (MIT)