跳到主要內容

Purpurite

Purpurite 是一套深色終端機配色(粉彩、冷色),背景色 #1f2533,文字色 #ccddff,對比度 11.2:1

取得設定檔
背景色
#1f2533
前景色
#ccddff
文字對比度
11.20:1AAA
強調色對比度
9.32:1最低 5.36
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
❯

Purpurite 的設定檔

16 種格式,都從同一份色板產生

Purpurite

存到 ~/.config/ghostty/themes/Purpurite,再在 config 或 config.ghostty 裏寫 theme = Purpurite

更多 Ghostty 配色
原始檔案
# Theme: Purpurite (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/purpurite?format=ghostty

palette = 0=#1f2533
palette = 1=#ff6666
palette = 2=#99ff99
palette = 3=#ff9966
palette = 4=#99bbff
palette = 5=#ff99dd
palette = 6=#99ddff
palette = 7=#ccddff
palette = 8=#3d4b66
palette = 9=#ff9999
palette = 10=#99ffdd
palette = 11=#ffcc66
palette = 12=#ccddff
palette = 13=#9999ff
palette = 14=#cceeff
palette = 15=#99ffdd
background = #1f2533
foreground = #ccddff
cursor-color = #ccddff
cursor-text = #1f2533
selection-background = #454e61
selection-foreground = #ccddff

Purpurite 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1f2533rgb(31 37 51)hsl(222 24% 16%)oklch(26.5% 0.028 266.5)—
前景色foreground#ccddffrgb(204 221 255)hsl(220 100% 90%)oklch(89.6% 0.050 264.3)11.20 AAA
光標cursor#ccddffrgb(204 221 255)hsl(220 100% 90%)oklch(89.6% 0.050 264.3)11.20 AAA
光標文字cursorText#1f2533rgb(31 37 51)hsl(222 24% 16%)oklch(26.5% 0.028 266.5)1.00 低於 AA
選取範圍selection#454e61rgb(69 78 97)hsl(221 17% 33%)oklch(42.4% 0.034 265.1)1.84 低於 AA
選取文字selectionText#ccddffrgb(204 221 255)hsl(220 100% 90%)oklch(89.6% 0.050 264.3)11.20 AAA
黑color0#1f2533rgb(31 37 51)hsl(222 24% 16%)oklch(26.5% 0.028 266.5)1.00 低於 AA
紅color1#ff6666rgb(255 102 102)hsl(0 100% 70%)oklch(70.4% 0.187 23.2)5.36 AA
綠color2#99ff99rgb(153 255 153)hsl(120 100% 80%)oklch(91.3% 0.167 144.1)12.49 AAA
黃color3#ff9966rgb(255 153 102)hsl(20 100% 70%)oklch(77.9% 0.139 46.6)7.30 AAA
藍color4#99bbffrgb(153 187 255)hsl(220 100% 80%)oklch(79.3% 0.104 263.7)7.96 AAA
洋紅color5#ff99ddrgb(255 153 221)hsl(320 100% 80%)oklch(80.9% 0.146 340.6)7.92 AAA
青color6#99ddffrgb(153 221 255)hsl(200 100% 80%)oklch(86.4% 0.083 230.6)10.32 AAA
白color7#ccddffrgb(204 221 255)hsl(220 100% 90%)oklch(89.6% 0.050 264.3)11.20 AAA
亮黑color8#3d4b66rgb(61 75 102)hsl(220 25% 32%)oklch(41.2% 0.049 263.2)1.75 低於 AA
亮紅color9#ff9999rgb(255 153 153)hsl(0 100% 80%)oklch(78.8% 0.123 20.2)7.49 AAA
亮綠color10#99ffddrgb(153 255 221)hsl(160 100% 80%)oklch(92.8% 0.108 170.5)12.92 AAA
亮黃color11#ffcc66rgb(255 204 102)hsl(40 100% 70%)oklch(87.1% 0.133 82.7)10.27 AAA
亮藍color12#ccddffrgb(204 221 255)hsl(220 100% 90%)oklch(89.6% 0.050 264.3)11.20 AAA
亮洋紅color13#9999ffrgb(153 153 255)hsl(240 100% 80%)oklch(72.6% 0.146 282.1)6.10 AA
亮青color14#cceeffrgb(204 238 255)hsl(200 100% 90%)oklch(93.0% 0.042 229.4)12.58 AAA
亮白color15#99ffddrgb(153 255 221)hsl(160 100% 80%)oklch(92.8% 0.108 170.5)12.92 AAA

關於 Purpurite

Purpurite 採用冷色調的深色背景(#1f2533),預設前景色為 #ccddff。正文的 WCAG 對比度為 11.20:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.32:1,最低 5.36:1。

色板整體色彩飽和度適中,其中紅色為 #ff6666、綠色為 #99ff99、藍色為 #99bbff、洋紅為 #ff99dd。

支援一鍵匯出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 終端機設定檔,同時提供 VS Code 與 Zed 整合終端機、CSS 變數、Tailwind CSS 及 JSON 色板格式。

與 Purpurite 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)