跳到主要內容

Dark Castle

Dark Castle 是一套深色終端機配色(純黑、鮮豔),背景色 #000000,文字色 #ffd580,對比度 15.1:1

取得設定檔
背景色
#000000
前景色
#ffd580
文字對比度
15.08:1AAA
強調色對比度
7.76:1最低 2.41
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
❯

Dark Castle 的設定檔

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

Dark Castle

存到 ~/.config/ghostty/themes/Dark Castle,再在 config 或 config.ghostty 裡寫 theme = Dark Castle

更多 Ghostty 配色
原始檔
# Theme: Dark Castle (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/dark-castle?format=ghostty

palette = 0=#1a1a1a
palette = 1=#ff000f
palette = 2=#08d220
palette = 3=#dfc200
palette = 4=#2d449b
palette = 5=#aa1b86
palette = 6=#007b88
palette = 7=#9c9c9c
palette = 8=#292929
palette = 9=#ef6b73
palette = 10=#bae67e
palette = 11=#ffd580
palette = 12=#4164ff
palette = 13=#9354ff
palette = 14=#4dbced
palette = 15=#ffffff
background = #000000
foreground = #ffd580
cursor-color = #ff8040
cursor-text = #000000
selection-background = #221a0b
selection-foreground = #ffd580

Dark Castle 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#ffd580rgb(255 213 128)hsl(40 100% 75%)oklch(89.1% 0.114 83.9)15.08 AAA
游標cursor#ff8040rgb(255 128 64)hsl(20 100% 63%)oklch(73.5% 0.173 45.1)8.41 AAA
游標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
選取範圍selection#221a0brgb(34 26 11)hsl(39 51% 9%)oklch(22.3% 0.029 82.1)1.22 低於 AA
選取文字selectionText#ffd580rgb(255 213 128)hsl(40 100% 75%)oklch(89.1% 0.114 83.9)15.08 AAA
黑color0#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)1.21 低於 AA
紅color1#ff000frgb(255 0 15)hsl(356 100% 50%)oklch(62.8% 0.257 28.4)5.26 AA
綠color2#08d220rgb(8 210 32)hsl(127 93% 43%)oklch(75.0% 0.248 143.2)10.25 AAA
黃color3#dfc200rgb(223 194 0)hsl(52 100% 44%)oklch(81.4% 0.168 98.3)11.85 AAA
藍color4#2d449brgb(45 68 155)hsl(227 55% 39%)oklch(42.1% 0.144 268.3)2.41 低於 AA
洋紅color5#aa1b86rgb(170 27 134)hsl(315 73% 39%)oklch(50.7% 0.202 341.2)3.21 AA 大字級
青color6#007b88rgb(0 123 136)hsl(186 100% 27%)oklch(53.3% 0.092 207.7)4.19 AA 大字級
白color7#9c9c9crgb(156 156 156)hsl(0 0% 61%)oklch(69.3% 0.000 0)7.65 AAA
亮黑color8#292929rgb(41 41 41)hsl(0 0% 16%)oklch(28.1% 0.000 0)1.44 低於 AA
亮紅color9#ef6b73rgb(239 107 115)hsl(356 80% 68%)oklch(69.0% 0.163 18.7)7.02 AAA
亮綠color10#bae67ergb(186 230 126)hsl(85 68% 70%)oklch(87.1% 0.140 127.8)14.71 AAA
亮黃color11#ffd580rgb(255 213 128)hsl(40 100% 75%)oklch(89.1% 0.114 83.9)15.08 AAA
亮藍color12#4164ffrgb(65 100 255)hsl(229 100% 63%)oklch(57.4% 0.233 268.2)4.49 AA 大字級
亮洋紅color13#9354ffrgb(147 84 255)hsl(262 100% 66%)oklch(60.9% 0.239 295.2)4.95 AA
亮青color14#4dbcedrgb(77 188 237)hsl(198 82% 62%)oklch(75.2% 0.122 230.6)9.73 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA

關於 Dark Castle

Dark Castle 採用中性色調的深色背景(#000000),預設前景色為 #ffd580。內文的 WCAG 對比度為 15.08:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.76:1,最低 2.41:1。

色票整體色彩彩度較高,其中紅色為 #ff000f、綠色為 #08d220、藍色為 #2d449b、洋紅為 #aa1b86。

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

與 Dark Castle 相似的配色

資料來源:Warp Themes (Apache-2.0)