跳到正文

Pali

Pali 是一套深色终端配色(冷色),背景色 #232e37,文字色 #d9e6f2,对比度 10.9:1

获取配置
背景色
#232e37
前景色
#d9e6f2
文字对比度
10.91:1AAA
强调色对比度
5.19:1最低 3.46
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
❯

Pali 的配置文件

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

Pali

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

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

palette = 0=#0a0a0a
palette = 1=#ab8f74
palette = 2=#74ab8f
palette = 3=#8fab74
palette = 4=#8f74ab
palette = 5=#ab748f
palette = 6=#748fab
palette = 7=#f2f2f2
palette = 8=#5d5d5d
palette = 9=#ff1d62
palette = 10=#9cc3af
palette = 11=#ffd00a
palette = 12=#af9cc3
palette = 13=#ff1d62
palette = 14=#4bb8fd
palette = 15=#a020f0
background = #232e37
foreground = #d9e6f2
cursor-color = #d9e6f2
cursor-text = #232e37
selection-background = #4b5761
selection-foreground = #d9e6f2

Pali 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#232e37rgb(35 46 55)hsl(207 22% 18%)oklch(29.5% 0.022 243.3)—
前景色foreground#d9e6f2rgb(217 230 242)hsl(209 49% 90%)oklch(91.9% 0.022 245.9)10.91 AAA
光标cursor#d9e6f2rgb(217 230 242)hsl(209 49% 90%)oklch(91.9% 0.022 245.9)10.91 AAA
光标文字cursorText#232e37rgb(35 46 55)hsl(207 22% 18%)oklch(29.5% 0.022 243.3)1.00 低于 AA
选区selection#4b5761rgb(75 87 97)hsl(207 13% 34%)oklch(45.0% 0.022 243.4)1.87 低于 AA
选区文字selectionText#d9e6f2rgb(217 230 242)hsl(209 49% 90%)oklch(91.9% 0.022 245.9)10.91 AAA
黑color0#0a0a0argb(10 10 10)hsl(0 0% 4%)oklch(14.5% 0.000 0)1.43 低于 AA
红color1#ab8f74rgb(171 143 116)hsl(29 25% 56%)oklch(66.9% 0.051 65.7)4.56 AA
绿color2#74ab8frgb(116 171 143)hsl(149 25% 56%)oklch(69.5% 0.071 161.6)5.25 AA
黄color3#8fab74rgb(143 171 116)hsl(91 25% 56%)oklch(70.6% 0.083 130.2)5.43 AA
蓝color4#8f74abrgb(143 116 171)hsl(269 25% 56%)oklch(60.5% 0.087 306.4)3.46 AA 大字号
品红color5#ab748frgb(171 116 143)hsl(331 25% 56%)oklch(62.4% 0.078 348.7)3.71 AA 大字号
青color6#748fabrgb(116 143 171)hsl(211 25% 56%)oklch(63.9% 0.052 249.6)4.13 AA 大字号
白color7#f2f2f2rgb(242 242 242)hsl(0 0% 95%)oklch(96.1% 0.000 0)12.36 AAA
亮黑color8#5d5d5drgb(93 93 93)hsl(0 0% 36%)oklch(47.8% 0.000 0)2.10 低于 AA
亮红color9#ff1d62rgb(255 29 98)hsl(342 100% 56%)oklch(64.5% 0.247 12.8)3.69 AA 大字号
亮绿color10#9cc3afrgb(156 195 175)hsl(149 25% 69%)oklch(78.3% 0.050 162.7)7.14 AAA
亮黄color11#ffd00argb(255 208 10)hsl(48 100% 52%)oklch(87.3% 0.177 92.1)9.41 AAA
亮蓝color12#af9cc3rgb(175 156 195)hsl(269 25% 69%)oklch(72.2% 0.059 307.0)5.51 AA
亮品红color13#ff1d62rgb(255 29 98)hsl(342 100% 56%)oklch(64.5% 0.247 12.8)3.69 AA 大字号
亮青color14#4bb8fdrgb(75 184 253)hsl(203 98% 64%)oklch(74.9% 0.140 240.3)6.31 AA
亮白color15#a020f0rgb(160 32 240)hsl(277 87% 53%)oklch(56.6% 0.274 306.4)2.61 低于 AA

关于 Pali

Pali 采用冷色调的深色背景(#232e37),默认前景色为 #d9e6f2。正文的 WCAG 对比度为 10.91:1(AAA),12 种 ANSI 彩色槽位平均对比度 5.19:1,最低 3.46:1。

色板整体色彩饱和度适中,其中红色为 #ab8f74、绿色为 #74ab8f、蓝色为 #8f74ab、品红为 #ab748f。

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

与 Pali 相似的配色

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