跳到正文

Mesa Twilight

Mesa Twilight 是一套深色终端配色(粉彩、冷色),背景色 #172b54,文字色 #fff0df,对比度 12.4:1

获取配置
背景色
#172b54
前景色
#fff0df
文字对比度
12.44:1AAA
强调色对比度
7.81:1最低 6.20
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
❯

Mesa Twilight 的配置文件

16 种格式,都从同一份色板生成

Mesa Twilight

存到 ~/.config/ghostty/themes/Mesa Twilight,再在 config 或 config.ghostty 里写 theme = Mesa Twilight

更多 Ghostty 配色
原始文件
# Theme: Mesa Twilight (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/mesa-twilight?format=ghostty

palette = 0=#bfc4ce
palette = 1=#f1958c
palette = 2=#83cba2
palette = 3=#e9c96c
palette = 4=#83b9e6
palette = 5=#c89edb
palette = 6=#78ced3
palette = 7=#fff0df
palette = 8=#d0d4dc
palette = 9=#f8aca5
palette = 10=#9dd8b5
palette = 11=#f2d98a
palette = 12=#9fcaf0
palette = 13=#d9b6e5
palette = 14=#97dce0
palette = 15=#fffaf2
background = #172b54
foreground = #fff0df
cursor-color = #f3b85b
cursor-text = #172b54
selection-background = #34496d
selection-foreground = #fff8ed

Mesa Twilight 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#172b54rgb(23 43 84)hsl(220 57% 21%)oklch(29.7% 0.079 262.9)—
前景色foreground#fff0dfrgb(255 240 223)hsl(32 100% 94%)oklch(96.2% 0.028 71.0)12.44 AAA
光标cursor#f3b85brgb(243 184 91)hsl(37 86% 65%)oklch(81.9% 0.129 76.6)7.83 AAA
光标文字cursorText#172b54rgb(23 43 84)hsl(220 57% 21%)oklch(29.7% 0.079 262.9)1.00 低于 AA
选区selection#34496drgb(52 73 109)hsl(218 35% 32%)oklch(40.5% 0.067 260.8)1.54 低于 AA
选区文字selectionText#fff8edrgb(255 248 237)hsl(37 100% 96%)oklch(98.2% 0.016 79.4)13.18 AAA
黑color0#bfc4cergb(191 196 206)hsl(220 13% 78%)oklch(81.9% 0.015 264.5)7.95 AAA
红color1#f1958crgb(241 149 140)hsl(5 78% 75%)oklch(76.2% 0.113 26.0)6.24 AA
绿color2#83cba2rgb(131 203 162)hsl(146 41% 65%)oklch(78.3% 0.094 158.4)7.30 AAA
黄color3#e9c96crgb(233 201 108)hsl(45 74% 67%)oklch(84.4% 0.118 90.8)8.63 AAA
蓝color4#83b9e6rgb(131 185 230)hsl(207 66% 71%)oklch(76.5% 0.086 244.4)6.65 AA
品红color5#c89edbrgb(200 158 219)hsl(281 46% 74%)oklch(75.8% 0.097 315.1)6.20 AA
青color6#78ced3rgb(120 206 211)hsl(183 51% 65%)oklch(79.9% 0.084 200.5)7.66 AAA
白color7#fff0dfrgb(255 240 223)hsl(32 100% 94%)oklch(96.2% 0.028 71.0)12.44 AAA
亮黑color8#d0d4dcrgb(208 212 220)hsl(220 15% 84%)oklch(86.9% 0.012 264.5)9.36 AAA
亮红color9#f8aca5rgb(248 172 165)hsl(5 86% 81%)oklch(81.5% 0.091 25.1)7.57 AAA
亮绿color10#9dd8b5rgb(157 216 181)hsl(144 43% 73%)oklch(83.2% 0.078 158.1)8.56 AAA
亮黄color11#f2d98argb(242 217 138)hsl(46 80% 75%)oklch(88.9% 0.102 92.5)9.98 AAA
亮蓝color12#9fcaf0rgb(159 202 240)hsl(208 73% 78%)oklch(82.2% 0.070 245.5)8.07 AAA
亮品红color13#d9b6e5rgb(217 182 229)hsl(285 47% 81%)oklch(82.2% 0.075 317.4)7.80 AAA
亮青color14#97dce0rgb(151 220 224)hsl(183 54% 74%)oklch(85.0% 0.069 200.5)9.03 AAA
亮白color15#fffaf2rgb(255 250 242)hsl(37 100% 97%)oklch(98.7% 0.012 79.8)13.38 AAA

关于 Mesa Twilight

Mesa Twilight 采用冷色调的深色背景(#172b54),默认前景色为 #fff0df。正文的 WCAG 对比度为 12.44:1(AAA),12 种 ANSI 彩色槽位平均对比度 7.81:1,最低 6.20:1。

色板整体色彩饱和度适中,其中红色为 #f1958c、绿色为 #83cba2、蓝色为 #83b9e6、品红为 #c89edb。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Mesa Twilight 相似的配色

数据来源:iTerm2 Color Schemes (MIT)