跳到主要內容

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/zh-hk/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)