跳到正文

Purplepeter

Purplepeter 是一套深色终端配色(冷色),背景色 #2a1a4a,文字色 #ece7fa,对比度 12.9:1

获取配置
背景色
#2a1a4a
前景色
#ece7fa
文字对比度
12.92:1AAA
强调色对比度
8.14:1最低 6.01
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
❯

Purplepeter 的配置文件

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

Purplepeter

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

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

palette = 0=#0a0520
palette = 1=#ff796d
palette = 2=#99b481
palette = 3=#efdfac
palette = 4=#66d9ef
palette = 5=#e78fcd
palette = 6=#ba8cff
palette = 7=#ffba81
palette = 8=#100b23
palette = 9=#f99f92
palette = 10=#b4be8f
palette = 11=#f2e9bf
palette = 12=#79daed
palette = 13=#ba91d4
palette = 14=#a0a0d6
palette = 15=#b9aed3
background = #2a1a4a
foreground = #ece7fa
cursor-color = #c7c7c7
cursor-text = #ffffff
selection-background = #8689c2
selection-foreground = #271c50

Purplepeter 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#2a1a4argb(42 26 74)hsl(260 48% 20%)oklch(26.7% 0.086 295.4)—
前景色foreground#ece7fargb(236 231 250)hsl(256 66% 94%)oklch(93.7% 0.026 297.9)12.92 AAA
光标cursor#c7c7c7rgb(199 199 199)hsl(0 0% 78%)oklch(83.0% 0.000 0)9.24 AAA
光标文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.61 AAA
选区selection#8689c2rgb(134 137 194)hsl(237 33% 64%)oklch(65.0% 0.085 281.4)4.74 AA
选区文字selectionText#271c50rgb(39 28 80)hsl(253 48% 21%)oklch(27.3% 0.091 288.6)1.02 低于 AA
黑color0#0a0520rgb(10 5 32)hsl(251 73% 7%)oklch(14.6% 0.056 287.2)1.27 低于 AA
红color1#ff796drgb(255 121 109)hsl(5 100% 71%)oklch(73.1% 0.166 27.1)6.10 AA
绿color2#99b481rgb(153 180 129)hsl(92 25% 61%)oklch(73.6% 0.077 130.8)6.84 AA
黄color3#efdfacrgb(239 223 172)hsl(46 68% 81%)oklch(90.4% 0.068 92.7)11.76 AAA
蓝color4#66d9efrgb(102 217 239)hsl(190 81% 67%)oklch(82.7% 0.108 212.0)9.47 AAA
品红color5#e78fcdrgb(231 143 205)hsl(318 65% 73%)oklch(76.0% 0.131 338.7)6.85 AA
青color6#ba8cffrgb(186 140 255)hsl(264 100% 77%)oklch(73.0% 0.166 300.8)6.16 AA
白color7#ffba81rgb(255 186 129)hsl(27 100% 75%)oklch(84.1% 0.108 60.1)9.36 AAA
亮黑color8#100b23rgb(16 11 35)hsl(252 52% 9%)oklch(17.2% 0.048 290.0)1.23 低于 AA
亮红color9#f99f92rgb(249 159 146)hsl(8 90% 77%)oklch(79.0% 0.110 28.7)7.73 AAA
亮绿color10#b4be8frgb(180 190 143)hsl(73 27% 65%)oklch(78.2% 0.065 117.7)7.96 AAA
亮黄color11#f2e9bfrgb(242 233 191)hsl(49 66% 85%)oklch(93.1% 0.056 97.3)12.77 AAA
亮蓝color12#79daedrgb(121 218 237)hsl(190 76% 70%)oklch(83.6% 0.095 211.8)9.71 AAA
亮品红color13#ba91d4rgb(186 145 212)hsl(277 44% 70%)oklch(71.9% 0.105 311.8)6.01 AA
亮青color14#a0a0d6rgb(160 160 214)hsl(240 40% 73%)oklch(72.5% 0.078 284.3)6.31 AA
亮白color15#b9aed3rgb(185 174 211)hsl(258 30% 75%)oklch(77.2% 0.053 298.7)7.48 AAA

关于 Purplepeter

Purplepeter 采用冷色调的深色背景(#2a1a4a),默认前景色为 #ece7fa。正文的 WCAG 对比度为 12.92:1(AAA),12 种 ANSI 彩色槽位平均对比度 8.14:1,最低 6.01:1。

色板整体色彩饱和度适中,其中红色为 #ff796d、绿色为 #99b481、蓝色为 #66d9ef、品红为 #e78fcd。

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

与 Purplepeter 相似的配色

数据来源:iTerm2 Color Schemes (MIT)