跳到主要內容

Prince of Darkness

Prince of Darkness 是一套深色終端機配色(鮮艷、冷色),背景色 #0a0714,文字色 #dcd3ff,對比度 14.1:1

取得設定檔
背景色
#0a0714
前景色
#dcd3ff
文字對比度
14.05:1AAA
強調色對比度
8.20:1最低 2.56
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
❯

Prince of Darkness 的設定檔

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

Prince of Darkness

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

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

palette = 0=#2d1b4e
palette = 1=#6a2bbd
palette = 2=#c43dff
palette = 3=#3ec7ff
palette = 4=#7a63ff
palette = 5=#ff4edb
palette = 6=#5cc8ff
palette = 7=#c5a7ff
palette = 8=#676175
palette = 9=#a139e6
palette = 10=#ff6bd6
palette = 11=#7ae6ff
palette = 12=#9bb4ff
palette = 13=#e384ff
palette = 14=#7ae6ff
palette = 15=#f2e6ff
background = #0a0714
foreground = #dcd3ff
cursor-color = #b47dff
cursor-text = #0a0714
selection-background = #43206b
selection-foreground = #f2e6ff

Prince of Darkness 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0a0714rgb(10 7 20)hsl(254 48% 5%)oklch(14.1% 0.029 293.9)—
前景色foreground#dcd3ffrgb(220 211 255)hsl(252 100% 91%)oklch(88.8% 0.061 294.5)14.05 AAA
光標cursor#b47dffrgb(180 125 255)hsl(265 100% 75%)oklch(70.1% 0.188 301.2)6.95 AA
光標文字cursorText#0a0714rgb(10 7 20)hsl(254 48% 5%)oklch(14.1% 0.029 293.9)1.00 低於 AA
選取範圍selection#43206brgb(67 32 107)hsl(268 54% 27%)oklch(33.5% 0.125 301.3)1.57 低於 AA
選取文字selectionText#f2e6ffrgb(242 230 255)hsl(269 100% 95%)oklch(94.2% 0.036 307.2)16.65 AAA
黑color0#2d1b4ergb(45 27 78)hsl(261 49% 21%)oklch(27.6% 0.090 296.3)1.31 低於 AA
紅color1#6a2bbdrgb(106 43 189)hsl(266 63% 45%)oklch(46.5% 0.210 296.9)2.56 低於 AA
綠color2#c43dffrgb(196 61 255)hsl(282 100% 62%)oklch(64.2% 0.274 312.9)5.18 AA
黃color3#3ec7ffrgb(62 199 255)hsl(197 100% 62%)oklch(78.1% 0.139 230.3)10.27 AAA
藍color4#7a63ffrgb(122 99 255)hsl(249 100% 69%)oklch(60.8% 0.222 284.4)4.80 AA
洋紅color5#ff4edbrgb(255 78 219)hsl(312 100% 65%)oklch(71.6% 0.254 337.3)6.99 AA
青color6#5cc8ffrgb(92 200 255)hsl(200 100% 68%)oklch(79.1% 0.126 233.7)10.60 AAA
白color7#c5a7ffrgb(197 167 255)hsl(260 100% 83%)oklch(78.7% 0.126 299.2)9.82 AAA
亮黑color8#676175rgb(103 97 117)hsl(258 9% 42%)oklch(50.5% 0.032 299.0)3.36 AA 大字體
亮紅color9#a139e6rgb(161 57 230)hsl(276 78% 56%)oklch(57.7% 0.246 307.6)4.03 AA 大字體
亮綠color10#ff6bd6rgb(255 107 214)hsl(317 100% 71%)oklch(74.3% 0.214 339.8)7.90 AAA
亮黃color11#7ae6ffrgb(122 230 255)hsl(191 100% 74%)oklch(87.0% 0.105 214.7)13.85 AAA
亮藍color12#9bb4ffrgb(155 180 255)hsl(225 100% 80%)oklch(78.0% 0.111 269.6)9.84 AAA
亮洋紅color13#e384ffrgb(227 132 255)hsl(286 100% 76%)oklch(76.0% 0.193 318.2)8.55 AAA
亮青color14#7ae6ffrgb(122 230 255)hsl(191 100% 74%)oklch(87.0% 0.105 214.7)13.85 AAA
亮白color15#f2e6ffrgb(242 230 255)hsl(269 100% 95%)oklch(94.2% 0.036 307.2)16.65 AAA

關於 Prince of Darkness

Prince of Darkness 採用冷色調的深色背景(#0a0714),預設前景色為 #dcd3ff。正文的 WCAG 對比度為 14.05:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.20:1,最低 2.56:1。

色板整體色彩飽和度較高,其中紅色為 #6a2bbd、綠色為 #c43dff、藍色為 #7a63ff、洋紅為 #ff4edb。

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

與 Prince of Darkness 相似的配色

資料來源:iTerm2 Color Schemes (MIT)