跳到正文

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/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)