跳到主要內容

Mellow

Mellow 是一套深色終端機配色,背景色 #161617,文字色 #c9c7cd,對比度 10.8:1

取得設定檔
背景色
#161617
前景色
#c9c7cd
文字對比度
10.79:1AAA
強調色對比度
9.04:1最低 7.14
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
❯

Mellow 的設定檔

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

Mellow

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

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

palette = 0=#27272a
palette = 1=#f5a191
palette = 2=#90b99f
palette = 3=#e6b99d
palette = 4=#aca1cf
palette = 5=#e29eca
palette = 6=#ea83a5
palette = 7=#c1c0d4
palette = 8=#353539
palette = 9=#ffae9f
palette = 10=#9dc6ac
palette = 11=#f0c5a9
palette = 12=#b9aeda
palette = 13=#ecaad6
palette = 14=#f591b2
palette = 15=#cac9dd
background = #161617
foreground = #c9c7cd
cursor-color = #cac9dd
cursor-text = #161617
selection-background = #2a2a2d
selection-foreground = #c1c0d4

Mellow 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#161617rgb(22 22 23)hsl(240 2% 9%)oklch(20.1% 0.002 286.2)—
前景色foreground#c9c7cdrgb(201 199 205)hsl(260 6% 79%)oklch(83.3% 0.009 301.3)10.79 AAA
光標cursor#cac9ddrgb(202 201 221)hsl(243 23% 83%)oklch(84.3% 0.028 288.1)11.12 AAA
光標文字cursorText#161617rgb(22 22 23)hsl(240 2% 9%)oklch(20.1% 0.002 286.2)1.00 低於 AA
選取範圍selection#2a2a2drgb(42 42 45)hsl(240 3% 17%)oklch(28.6% 0.005 286.1)1.26 低於 AA
選取文字selectionText#c1c0d4rgb(193 192 212)hsl(243 19% 79%)oklch(81.5% 0.028 288.1)10.13 AAA
黑color0#27272argb(39 39 42)hsl(240 4% 16%)oklch(27.4% 0.005 286.0)1.21 低於 AA
紅color1#f5a191rgb(245 161 145)hsl(10 83% 76%)oklch(78.8% 0.103 31.3)8.95 AAA
綠color2#90b99frgb(144 185 159)hsl(142 23% 65%)oklch(74.9% 0.058 156.9)8.29 AAA
黃color3#e6b99drgb(230 185 157)hsl(23 59% 76%)oklch(81.9% 0.065 53.5)10.15 AAA
藍color4#aca1cfrgb(172 161 207)hsl(254 32% 72%)oklch(73.4% 0.067 295.7)7.54 AAA
洋紅color5#e29ecargb(226 158 202)hsl(321 54% 75%)oklch(77.8% 0.098 340.6)8.59 AAA
青color6#ea83a5rgb(234 131 165)hsl(340 71% 72%)oklch(73.1% 0.131 359.7)7.14 AAA
白color7#c1c0d4rgb(193 192 212)hsl(243 19% 79%)oklch(81.5% 0.028 288.1)10.13 AAA
亮黑color8#353539rgb(53 53 57)hsl(240 4% 22%)oklch(33.0% 0.007 286.0)1.48 低於 AA
亮紅color9#ffae9frgb(255 174 159)hsl(9 100% 81%)oklch(82.5% 0.098 30.9)10.17 AAA
亮綠color10#9dc6acrgb(157 198 172)hsl(142 26% 70%)oklch(79.0% 0.057 157.0)9.56 AAA
亮黃color11#f0c5a9rgb(240 197 169)hsl(24 70% 80%)oklch(85.4% 0.062 54.8)11.42 AAA
亮藍color12#b9aedargb(185 174 218)hsl(255 37% 77%)oklch(77.5% 0.063 296.4)8.72 AAA
亮洋紅color13#ecaad6rgb(236 170 214)hsl(320 63% 80%)oklch(81.3% 0.096 339.5)9.72 AAA
亮青color14#f591b2rgb(245 145 178)hsl(340 83% 76%)oklch(77.0% 0.126 359.3)8.25 AAA
亮白color15#cac9ddrgb(202 201 221)hsl(243 23% 83%)oklch(84.3% 0.028 288.1)11.12 AAA

關於 Mellow

Mellow 採用中性色調的深色背景(#161617),預設前景色為 #c9c7cd。正文的 WCAG 對比度為 10.79:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.04:1,最低 7.14:1。

色板整體色彩飽和度適中,其中紅色為 #f5a191、綠色為 #90b99f、藍色為 #aca1cf、洋紅為 #e29eca。

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

與 Mellow 相似的配色

資料來源:iTerm2 Color Schemes (MIT)