跳到正文

Pumpkin Patch

Pumpkin Patch 是一套深色终端配色,背景色 #243416,文字色 #f5efd1,对比度 11.5:1

获取配置
背景色
#243416
前景色
#f5efd1
文字对比度
11.50:1AAA
强调色对比度
7.03:1最低 5.54
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
❯

Pumpkin Patch 的配置文件

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

Pumpkin Patch

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

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

palette = 0=#c3c8af
palette = 1=#f09870
palette = 2=#95ce77
palette = 3=#e8c95a
palette = 4=#87bfcf
palette = 5=#c79ab7
palette = 6=#79c9bb
palette = 7=#f5efd1
palette = 8=#cacfb9
palette = 9=#f2a481
palette = 10=#a2d487
palette = 11=#ebcf6e
palette = 12=#95c7d5
palette = 13=#cea6c0
palette = 14=#89cfc3
palette = 15=#f6f1d7
background = #243416
foreground = #f5efd1
cursor-color = #f2a481
cursor-text = #243416
selection-background = #cacfb9
selection-foreground = #9d987e

Pumpkin Patch 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#243416rgb(36 52 22)hsl(92 41% 15%)oklch(30.2% 0.054 132.0)—
前景色foreground#f5efd1rgb(245 239 209)hsl(50 64% 89%)oklch(94.9% 0.040 97.8)11.50 AAA
光标cursor#f2a481rgb(242 164 129)hsl(19 81% 73%)oklch(78.7% 0.105 44.9)6.59 AA
光标文字cursorText#243416rgb(36 52 22)hsl(92 41% 15%)oklch(30.2% 0.054 132.0)1.00 低于 AA
选区selection#cacfb9rgb(202 207 185)hsl(74 19% 77%)oklch(84.5% 0.030 117.5)8.33 AAA
选区文字selectionText#9d987ergb(157 152 126)hsl(50 14% 55%)oklch(67.7% 0.037 98.3)4.58 AA
黑color0#c3c8afrgb(195 200 175)hsl(72 19% 74%)oklch(82.2% 0.035 116.3)7.73 AAA
红color1#f09870rgb(240 152 112)hsl(19 81% 69%)oklch(76.1% 0.119 45.0)5.98 AA
绿color2#95ce77rgb(149 206 119)hsl(99 47% 64%)oklch(79.2% 0.131 135.5)7.21 AAA
黄color3#e8c95argb(232 201 90)hsl(47 76% 63%)oklch(84.1% 0.134 93.7)8.20 AAA
蓝color4#87bfcfrgb(135 191 207)hsl(193 43% 67%)oklch(77.2% 0.062 217.5)6.58 AA
品红color5#c79ab7rgb(199 154 183)hsl(321 29% 69%)oklch(73.7% 0.066 340.0)5.54 AA
青color6#79c9bbrgb(121 201 187)hsl(170 43% 63%)oklch(78.0% 0.082 181.7)6.90 AA
白color7#f5efd1rgb(245 239 209)hsl(50 64% 89%)oklch(94.9% 0.040 97.8)11.50 AAA
亮黑color8#cacfb9rgb(202 207 185)hsl(74 19% 77%)oklch(84.5% 0.030 117.5)8.33 AAA
亮红color9#f2a481rgb(242 164 129)hsl(19 81% 73%)oklch(78.7% 0.105 44.9)6.59 AA
亮绿color10#a2d487rgb(162 212 135)hsl(99 47% 68%)oklch(81.6% 0.116 135.1)7.80 AAA
亮黄color11#ebcf6ergb(235 207 110)hsl(47 76% 68%)oklch(85.8% 0.121 93.6)8.67 AAA
亮蓝color12#95c7d5rgb(149 199 213)hsl(193 43% 71%)oklch(79.9% 0.056 216.9)7.23 AAA
亮品红color13#cea6c0rgb(206 166 192)hsl(321 29% 73%)oklch(76.9% 0.058 339.5)6.24 AA
亮青color14#89cfc3rgb(137 207 195)hsl(170 42% 67%)oklch(80.5% 0.073 182.5)7.46 AAA
亮白color15#f6f1d7rgb(246 241 215)hsl(50 63% 90%)oklch(95.5% 0.035 98.1)11.71 AAA

关于 Pumpkin Patch

Pumpkin Patch 采用中性色调的深色背景(#243416),默认前景色为 #f5efd1。正文的 WCAG 对比度为 11.50:1(AAA),12 种 ANSI 彩色槽位平均对比度 7.03:1,最低 5.54:1。

色板整体色彩饱和度适中,其中红色为 #f09870、绿色为 #95ce77、蓝色为 #87bfcf、品红为 #c79ab7。

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

与 Pumpkin Patch 相似的配色

数据来源:iTerm2 Color Schemes (MIT)