跳到主要內容

Prince of Barkness

Prince of Barkness 是一套深色終端機配色(粉彩、冷色),背景色 #100e17,文字色 #f1dfbf,對比度 14.6:1

取得設定檔
背景色
#100e17
前景色
#f1dfbf
文字對比度
14.63:1AAA
強調色對比度
11.29:1最低 6.48
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 Barkness 的設定檔

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

Prince of Barkness

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

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

palette = 0=#7d7b86
palette = 1=#f16b77
palette = 2=#6fe0a2
palette = 3=#f6c85a
palette = 4=#8eaeff
palette = 5=#d5a0f5
palette = 6=#6adbe2
palette = 7=#f1dfbf
palette = 8=#81798f
palette = 9=#ff8e99
palette = 10=#92f2b8
palette = 11=#ffe08b
palette = 12=#b7c8ff
palette = 13=#e7b8ff
palette = 14=#94eef0
palette = 15=#fff4de
background = #100e17
foreground = #f1dfbf
cursor-color = #f6c85a
cursor-text = #100e17
selection-background = #4c376a
selection-foreground = #fff4de

Prince of Barkness 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#100e17rgb(16 14 23)hsl(253 24% 7%)oklch(17.1% 0.019 294.5)—
前景色foreground#f1dfbfrgb(241 223 191)hsl(38 64% 85%)oklch(91.0% 0.047 82.0)14.63 AAA
游標cursor#f6c85argb(246 200 90)hsl(42 90% 66%)oklch(85.3% 0.137 86.3)12.15 AAA
游標文字cursorText#100e17rgb(16 14 23)hsl(253 24% 7%)oklch(17.1% 0.019 294.5)1.00 低於 AA
選取範圍selection#4c376argb(76 55 106)hsl(265 32% 32%)oklch(38.4% 0.087 301.4)1.88 低於 AA
選取文字selectionText#fff4dergb(255 244 222)hsl(40 100% 94%)oklch(97.0% 0.031 84.6)17.54 AAA
黑color0#7d7b86rgb(125 123 134)hsl(251 4% 50%)oklch(58.8% 0.017 294.2)4.60 AA
紅color1#f16b77rgb(241 107 119)hsl(355 83% 68%)oklch(69.4% 0.165 17.0)6.48 AA
綠color2#6fe0a2rgb(111 224 162)hsl(147 65% 66%)oklch(82.4% 0.137 157.4)11.72 AAA
黃color3#f6c85argb(246 200 90)hsl(42 90% 66%)oklch(85.3% 0.137 86.3)12.15 AAA
藍color4#8eaeffrgb(142 174 255)hsl(223 100% 78%)oklch(75.9% 0.122 267.1)8.79 AAA
洋紅color5#d5a0f5rgb(213 160 245)hsl(277 81% 79%)oklch(78.5% 0.130 312.1)9.27 AAA
青color6#6adbe2rgb(106 219 226)hsl(184 67% 65%)oklch(82.8% 0.103 200.8)11.71 AAA
白color7#f1dfbfrgb(241 223 191)hsl(38 64% 85%)oklch(91.0% 0.047 82.0)14.63 AAA
亮黑color8#81798frgb(129 121 143)hsl(262 9% 52%)oklch(59.1% 0.034 301.9)4.62 AA
亮紅color9#ff8e99rgb(255 142 153)hsl(354 100% 78%)oklch(77.1% 0.137 14.6)8.73 AAA
亮綠color10#92f2b8rgb(146 242 184)hsl(144 79% 76%)oklch(88.6% 0.122 156.3)14.23 AAA
亮黃color11#ffe08brgb(255 224 139)hsl(44 100% 77%)oklch(91.4% 0.110 90.1)14.84 AAA
亮藍color12#b7c8ffrgb(183 200 255)hsl(226 100% 86%)oklch(83.9% 0.080 271.3)11.59 AAA
亮洋紅color13#e7b8ffrgb(231 184 255)hsl(280 100% 86%)oklch(84.8% 0.109 314.0)11.57 AAA
亮青color14#94eef0rgb(148 238 240)hsl(181 75% 76%)oklch(89.3% 0.086 197.5)14.35 AAA
亮白color15#fff4dergb(255 244 222)hsl(40 100% 94%)oklch(97.0% 0.031 84.6)17.54 AAA

關於 Prince of Barkness

Prince of Barkness 採用冷色調的深色背景(#100e17),預設前景色為 #f1dfbf。內文的 WCAG 對比度為 14.63:1(AAA),12 種 ANSI 彩色槽位平均對比度 11.29:1,最低 6.48:1。

色票整體色彩彩度適中,其中紅色為 #f16b77、綠色為 #6fe0a2、藍色為 #8eaeff、洋紅為 #d5a0f5。

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

與 Prince of Barkness 相似的配色

資料來源:iTerm2 Color Schemes (MIT)