跳到主要內容

Mellifluous

Mellifluous 是一套深色終端機配色(低彩度),背景色 #1a1a1a,文字色 #dadada,對比度 12.4:1

取得設定檔
背景色
#1a1a1a
前景色
#dadada
文字對比度
12.45:1AAA
強調色對比度
5.96:1最低 3.11
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
❯

Mellifluous 的設定檔

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

Mellifluous

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

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

palette = 0=#1a1a1a
palette = 1=#d29393
palette = 2=#b3b393
palette = 3=#cbaa89
palette = 4=#a8a1be
palette = 5=#b39fb0
palette = 6=#c0af8c
palette = 7=#dadada
palette = 8=#5b5b5b
palette = 9=#c95954
palette = 10=#828040
palette = 11=#a6794c
palette = 12=#5a6599
palette = 13=#9c6995
palette = 14=#74a39e
palette = 15=#ffffff
background = #1a1a1a
foreground = #dadada
cursor-color = #bfad9e
cursor-text = #1a1a1a
selection-background = #2d2d2d
selection-foreground = #c0af8c

Mellifluous 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)—
前景色foreground#dadadargb(218 218 218)hsl(0 0% 85%)oklch(88.8% 0.000 0)12.45 AAA
游標cursor#bfad9ergb(191 173 158)hsl(27 20% 68%)oklch(75.9% 0.030 62.2)8.03 AAA
游標文字cursorText#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)1.00 低於 AA
選取範圍selection#2d2d2drgb(45 45 45)hsl(0 0% 18%)oklch(29.7% 0.000 0)1.26 低於 AA
選取文字selectionText#c0af8crgb(192 175 140)hsl(40 29% 65%)oklch(76.0% 0.052 85.1)8.08 AAA
黑color0#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)1.00 低於 AA
紅color1#d29393rgb(210 147 147)hsl(0 41% 70%)oklch(72.5% 0.077 19.1)6.91 AA
綠color2#b3b393rgb(179 179 147)hsl(60 17% 64%)oklch(75.8% 0.044 107.4)8.11 AAA
黃color3#cbaa89rgb(203 170 137)hsl(30 39% 67%)oklch(75.9% 0.059 66.7)8.00 AAA
藍color4#a8a1bergb(168 161 190)hsl(254 18% 69%)oklch(72.4% 0.042 296.4)7.05 AAA
洋紅color5#b39fb0rgb(179 159 176)hsl(309 12% 66%)oklch(72.5% 0.033 330.8)7.05 AAA
青color6#c0af8crgb(192 175 140)hsl(40 29% 65%)oklch(76.0% 0.052 85.1)8.08 AAA
白color7#dadadargb(218 218 218)hsl(0 0% 85%)oklch(88.8% 0.000 0)12.45 AAA
亮黑color8#5b5b5brgb(91 91 91)hsl(0 0% 36%)oklch(47.1% 0.000 0)2.56 低於 AA
亮紅color9#c95954rgb(201 89 84)hsl(3 52% 56%)oklch(60.4% 0.144 24.9)4.18 AA 大字級
亮綠color10#828040rgb(130 128 64)hsl(58 34% 38%)oklch(58.7% 0.086 107.2)4.24 AA 大字級
亮黃color11#a6794crgb(166 121 76)hsl(30 37% 47%)oklch(61.1% 0.083 65.2)4.53 AA
亮藍color12#5a6599rgb(90 101 153)hsl(230 26% 48%)oklch(52.0% 0.083 274.0)3.11 AA 大字級
亮洋紅color13#9c6995rgb(156 105 149)hsl(308 20% 51%)oklch(58.9% 0.089 331.6)4.03 AA 大字級
亮青color14#74a39ergb(116 163 158)hsl(174 20% 55%)oklch(68.0% 0.051 187.8)6.20 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.40 AAA

關於 Mellifluous

Mellifluous 採用中性色調的深色背景(#1a1a1a),預設前景色為 #dadada。內文的 WCAG 對比度為 12.45:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.96:1,最低 3.11:1。

色票整體色彩彩度偏低,其中紅色為 #d29393、綠色為 #b3b393、藍色為 #a8a1be、洋紅為 #b39fb0。

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

與 Mellifluous 相似的配色

資料來源:iTerm2 Color Schemes (MIT)