跳到主要內容

Porple

Porple 是一套深色終端機配色(冷色),背景色 #292c36,文字色 #d8d8d8,對比度 9.8:1

取得設定檔
背景色
#292c36
前景色
#d8d8d8
文字對比度
9.77:1AAA
強調色對比度
4.70:1最低 2.87
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
❯

Porple 的設定檔

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

Porple

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

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

palette = 0=#292c36
palette = 1=#f84547
palette = 2=#95c76f
palette = 3=#efa16b
palette = 4=#8485ce
palette = 5=#b74989
palette = 6=#64878f
palette = 7=#d8d8d8
palette = 8=#65568a
palette = 9=#f84547
palette = 10=#95c76f
palette = 11=#efa16b
palette = 12=#8485ce
palette = 13=#b74989
palette = 14=#64878f
palette = 15=#f8f8f8
background = #292c36
foreground = #d8d8d8
cursor-color = #d8d8d8
cursor-text = #292c36
selection-background = #50535b
selection-foreground = #d8d8d8

Porple 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#292c36rgb(41 44 54)hsl(226 14% 19%)oklch(29.4% 0.019 272.1)—
前景色foreground#d8d8d8rgb(216 216 216)hsl(0 0% 85%)oklch(88.2% 0.000 0)9.77 AAA
光標cursor#d8d8d8rgb(216 216 216)hsl(0 0% 85%)oklch(88.2% 0.000 0)9.77 AAA
光標文字cursorText#292c36rgb(41 44 54)hsl(226 14% 19%)oklch(29.4% 0.019 272.1)1.00 低於 AA
選取範圍selection#50535brgb(80 83 91)hsl(224 6% 34%)oklch(44.2% 0.014 269.4)1.81 低於 AA
選取文字selectionText#d8d8d8rgb(216 216 216)hsl(0 0% 85%)oklch(88.2% 0.000 0)9.77 AAA
黑color0#292c36rgb(41 44 54)hsl(226 14% 19%)oklch(29.4% 0.019 272.1)1.00 低於 AA
紅color1#f84547rgb(248 69 71)hsl(359 93% 62%)oklch(65.3% 0.215 24.9)3.94 AA 大字體
綠color2#95c76frgb(149 199 111)hsl(94 44% 61%)oklch(77.4% 0.129 132.9)7.08 AAA
黃color3#efa16brgb(239 161 107)hsl(25 80% 68%)oklch(77.4% 0.116 54.8)6.62 AA
藍color4#8485cergb(132 133 206)hsl(239 43% 66%)oklch(64.6% 0.108 282.3)4.13 AA 大字體
洋紅color5#b74989rgb(183 73 137)hsl(325 43% 50%)oklch(57.1% 0.159 347.3)2.87 低於 AA
青color6#64878frgb(100 135 143)hsl(191 18% 48%)oklch(60.0% 0.041 213.3)3.58 AA 大字體
白color7#d8d8d8rgb(216 216 216)hsl(0 0% 85%)oklch(88.2% 0.000 0)9.77 AAA
亮黑color8#65568argb(101 86 138)hsl(257 23% 44%)oklch(49.0% 0.083 296.5)2.16 低於 AA
亮紅color9#f84547rgb(248 69 71)hsl(359 93% 62%)oklch(65.3% 0.215 24.9)3.94 AA 大字體
亮綠color10#95c76frgb(149 199 111)hsl(94 44% 61%)oklch(77.4% 0.129 132.9)7.08 AAA
亮黃color11#efa16brgb(239 161 107)hsl(25 80% 68%)oklch(77.4% 0.116 54.8)6.62 AA
亮藍color12#8485cergb(132 133 206)hsl(239 43% 66%)oklch(64.6% 0.108 282.3)4.13 AA 大字體
亮洋紅color13#b74989rgb(183 73 137)hsl(325 43% 50%)oklch(57.1% 0.159 347.3)2.87 低於 AA
亮青color14#64878frgb(100 135 143)hsl(191 18% 48%)oklch(60.0% 0.041 213.3)3.58 AA 大字體
亮白color15#f8f8f8rgb(248 248 248)hsl(0 0% 97%)oklch(97.9% 0.000 0)13.11 AAA

關於 Porple

Porple 採用冷色調的深色背景(#292c36),預設前景色為 #d8d8d8。正文的 WCAG 對比度為 9.77:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.70:1,最低 2.87:1。

色板整體色彩飽和度適中,其中紅色為 #f84547、綠色為 #95c76f、藍色為 #8485ce、洋紅為 #b74989。

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

與 Porple 相似的配色

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