跳到正文

Mexico Light

Mexico Light 是一套浅色终端配色(柔和),背景色 #f8f8f8,文字色 #383838,对比度 11.0:1

获取配置
背景色
#f8f8f8
前景色
#383838
文字对比度
11.04:1AAA
强调色对比度
3.69:1最低 2.06
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
❯

Mexico Light 的配置文件

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

Mexico Light

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

更多 Ghostty 配色
原始文件
# Theme: Mexico Light (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/mexico-light?format=ghostty

palette = 0=#f8f8f8
palette = 1=#ab4642
palette = 2=#538947
palette = 3=#f79a0e
palette = 4=#7cafc2
palette = 5=#96609e
palette = 6=#4b8093
palette = 7=#383838
palette = 8=#b8b8b8
palette = 9=#ab4642
palette = 10=#538947
palette = 11=#f79a0e
palette = 12=#7cafc2
palette = 13=#96609e
palette = 14=#4b8093
palette = 15=#181818
background = #f8f8f8
foreground = #383838
cursor-color = #383838
cursor-text = #f8f8f8
selection-background = #c4c4c4
selection-foreground = #383838

Mexico Light 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#f8f8f8rgb(248 248 248)hsl(0 0% 97%)oklch(97.9% 0.000 0)—
前景色foreground#383838rgb(56 56 56)hsl(0 0% 22%)oklch(34.1% 0.000 0)11.04 AAA
光标cursor#383838rgb(56 56 56)hsl(0 0% 22%)oklch(34.1% 0.000 0)11.04 AAA
光标文字cursorText#f8f8f8rgb(248 248 248)hsl(0 0% 97%)oklch(97.9% 0.000 0)1.00 低于 AA
选区selection#c4c4c4rgb(196 196 196)hsl(0 0% 77%)oklch(82.0% 0.000 0)1.64 低于 AA
选区文字selectionText#383838rgb(56 56 56)hsl(0 0% 22%)oklch(34.1% 0.000 0)11.04 AAA
黑color0#f8f8f8rgb(248 248 248)hsl(0 0% 97%)oklch(97.9% 0.000 0)1.00 低于 AA
红color1#ab4642rgb(171 70 66)hsl(2 44% 46%)oklch(52.8% 0.134 25.0)5.36 AA
绿color2#538947rgb(83 137 71)hsl(109 32% 41%)oklch(57.6% 0.112 140.0)3.93 AA 大字号
黄color3#f79a0ergb(247 154 14)hsl(36 94% 51%)oklch(76.4% 0.166 67.1)2.06 低于 AA
蓝color4#7cafc2rgb(124 175 194)hsl(196 36% 62%)oklch(72.5% 0.060 223.1)2.26 低于 AA
品红color5#96609ergb(150 96 158)hsl(292 24% 50%)oklch(57.1% 0.111 322.2)4.43 AA 大字号
青color6#4b8093rgb(75 128 147)hsl(196 32% 44%)oklch(57.0% 0.064 223.1)4.11 AA 大字号
白color7#383838rgb(56 56 56)hsl(0 0% 22%)oklch(34.1% 0.000 0)11.04 AAA
亮黑color8#b8b8b8rgb(184 184 184)hsl(0 0% 72%)oklch(78.3% 0.000 0)1.87 低于 AA
亮红color9#ab4642rgb(171 70 66)hsl(2 44% 46%)oklch(52.8% 0.134 25.0)5.36 AA
亮绿color10#538947rgb(83 137 71)hsl(109 32% 41%)oklch(57.6% 0.112 140.0)3.93 AA 大字号
亮黄color11#f79a0ergb(247 154 14)hsl(36 94% 51%)oklch(76.4% 0.166 67.1)2.06 低于 AA
亮蓝color12#7cafc2rgb(124 175 194)hsl(196 36% 62%)oklch(72.5% 0.060 223.1)2.26 低于 AA
亮品红color13#96609ergb(150 96 158)hsl(292 24% 50%)oklch(57.1% 0.111 322.2)4.43 AA 大字号
亮青color14#4b8093rgb(75 128 147)hsl(196 32% 44%)oklch(57.0% 0.064 223.1)4.11 AA 大字号
亮白color15#181818rgb(24 24 24)hsl(0 0% 9%)oklch(20.9% 0.000 0)16.72 AAA

关于 Mexico Light

Mexico Light 采用中性色调的浅色背景(#f8f8f8),默认前景色为 #383838。正文的 WCAG 对比度为 11.04:1(AAA),12 种 ANSI 彩色槽位平均对比度 3.69:1,最低 2.06:1。

色板整体色彩饱和度适中,其中红色为 #ab4642、绿色为 #538947、蓝色为 #7cafc2、品红为 #96609e。

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

与 Mexico Light 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)