跳到正文

Poltergeist

Poltergeist 是一套深色终端配色(粉彩、冷色),背景色 #06444b,文字色 #f0ffff,对比度 10.6:1

获取配置
背景色
#06444b
前景色
#f0ffff
文字对比度
10.56:1AAA
强调色对比度
6.59:1最低 5.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
❯

Poltergeist 的配置文件

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

Poltergeist

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

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

palette = 0=#c0d1d2
palette = 1=#ff9c91
palette = 2=#8ce0b0
palette = 3=#e9d06c
palette = 4=#8ed4ed
palette = 5=#c5a7e8
palette = 6=#77e1df
palette = 7=#f0ffff
palette = 8=#c8d7d7
palette = 9=#ffa89e
palette = 10=#9ae4b9
palette = 11=#ecd67e
palette = 12=#9cd9ef
palette = 13=#ccb2eb
palette = 14=#87e5e3
palette = 15=#f2ffff
background = #06444b
foreground = #f0ffff
cursor-color = #ffa89e
cursor-text = #06444b
selection-background = #c8d7d7
selection-foreground = #8c9999

Poltergeist 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#06444brgb(6 68 75)hsl(186 85% 16%)oklch(35.4% 0.058 207.0)—
前景色foreground#f0ffffrgb(240 255 255)hsl(180 100% 97%)oklch(98.9% 0.016 196.9)10.56 AAA
光标cursor#ffa89ergb(255 168 158)hsl(6 100% 81%)oklch(81.5% 0.105 26.8)5.86 AA
光标文字cursorText#06444brgb(6 68 75)hsl(186 85% 16%)oklch(35.4% 0.058 207.0)1.00 低于 AA
选区selection#c8d7d7rgb(200 215 215)hsl(180 16% 81%)oklch(86.8% 0.016 196.9)7.31 AAA
选区文字selectionText#8c9999rgb(140 153 153)hsl(180 6% 57%)oklch(67.3% 0.015 196.8)3.68 AA 大字号
黑color0#c0d1d2rgb(192 209 210)hsl(183 17% 79%)oklch(84.8% 0.018 201.1)6.87 AA
红color1#ff9c91rgb(255 156 145)hsl(6 100% 78%)oklch(79.2% 0.120 26.9)5.38 AA
绿color2#8ce0b0rgb(140 224 176)hsl(146 58% 71%)oklch(84.0% 0.107 158.0)6.92 AA
黄color3#e9d06crgb(233 208 108)hsl(48 74% 67%)oklch(85.8% 0.123 95.6)7.08 AAA
蓝color4#8ed4edrgb(142 212 237)hsl(196 73% 74%)oklch(83.2% 0.078 222.5)6.61 AA
品红color5#c5a7e8rgb(197 167 232)hsl(268 59% 78%)oklch(77.7% 0.096 305.4)5.20 AA
青color6#77e1dfrgb(119 225 223)hsl(179 64% 67%)oklch(84.6% 0.099 193.8)7.03 AAA
白color7#f0ffffrgb(240 255 255)hsl(180 100% 97%)oklch(98.9% 0.016 196.9)10.56 AAA
亮黑color8#c8d7d7rgb(200 215 215)hsl(180 16% 81%)oklch(86.8% 0.016 196.9)7.31 AAA
亮红color9#ffa89ergb(255 168 158)hsl(6 100% 81%)oklch(81.5% 0.105 26.8)5.86 AA
亮绿color10#9ae4b9rgb(154 228 185)hsl(145 58% 75%)oklch(85.9% 0.095 158.1)7.32 AAA
亮黄color11#ecd67ergb(236 214 126)hsl(48 74% 71%)oklch(87.6% 0.111 95.7)7.48 AAA
亮蓝color12#9cd9efrgb(156 217 239)hsl(196 72% 77%)oklch(85.1% 0.069 222.3)7.02 AAA
亮品红color13#ccb2ebrgb(204 178 235)hsl(267 59% 81%)oklch(80.5% 0.084 305.4)5.75 AA
亮青color14#87e5e3rgb(135 229 227)hsl(179 64% 71%)oklch(86.3% 0.090 193.9)7.41 AAA
亮白color15#f2ffffrgb(242 255 255)hsl(180 100% 97%)oklch(99.0% 0.014 196.9)10.60 AAA

关于 Poltergeist

Poltergeist 采用冷色调的深色背景(#06444b),默认前景色为 #f0ffff。正文的 WCAG 对比度为 10.56:1(AAA),12 种 ANSI 彩色槽位平均对比度 6.59:1,最低 5.20:1。

色板整体色彩饱和度适中,其中红色为 #ff9c91、绿色为 #8ce0b0、蓝色为 #8ed4ed、品红为 #c5a7e8。

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

与 Poltergeist 相似的配色

数据来源:iTerm2 Color Schemes (MIT)