跳到主要內容

Dracula+ High Contrast

Dracula+ High Contrast 是一套深色終端機配色(高對比、冷色),背景色 #14141a,文字色 #f8f8f2,對比度 17.2:1

取得設定檔
背景色
#14141a
前景色
#f8f8f2
文字對比度
17.21:1AAA
強調色對比度
11.03:1最低 7.08
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
❯

Dracula+ High Contrast 的設定檔

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

Dracula+ High Contrast

存到 ~/.config/ghostty/themes/Dracula+ High Contrast,再在 config 或 config.ghostty 裡寫 theme = Dracula+ High Contrast

更多 Ghostty 配色
原始檔
# Theme: Dracula+ High Contrast (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/dracula-plus-high-contrast?format=ghostty

palette = 0=#9ba0b4
palette = 1=#ff7676
palette = 2=#50fa7b
palette = 3=#ffcb6b
palette = 4=#82aaff
palette = 5=#c792ea
palette = 6=#8be9fd
palette = 7=#f8f8f2
palette = 8=#9ba1b5
palette = 9=#ff8a8a
palette = 10=#69ff94
palette = 11=#ffd98a
palette = 12=#d6acff
palette = 13=#ff92df
palette = 14=#a4ffff
palette = 15=#ffffff
background = #14141a
foreground = #f8f8f2
cursor-color = #eceff4
cursor-text = #14141a
selection-background = #44475a
selection-foreground = #f8f8f2

Dracula+ High Contrast 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#14141argb(20 20 26)hsl(240 13% 9%)oklch(19.4% 0.012 285.2)—
前景色foreground#f8f8f2rgb(248 248 242)hsl(60 30% 96%)oklch(97.7% 0.008 106.5)17.21 AAA
游標cursor#eceff4rgb(236 239 244)hsl(218 27% 94%)oklch(95.1% 0.007 260.7)15.92 AAA
游標文字cursorText#14141argb(20 20 26)hsl(240 13% 9%)oklch(19.4% 0.012 285.2)1.00 低於 AA
選取範圍selection#44475argb(68 71 90)hsl(232 14% 31%)oklch(40.3% 0.032 277.8)2.00 低於 AA
選取文字selectionText#f8f8f2rgb(248 248 242)hsl(60 30% 96%)oklch(97.7% 0.008 106.5)17.21 AAA
黑color0#9ba0b4rgb(155 160 180)hsl(228 14% 66%)oklch(70.8% 0.030 274.5)7.06 AAA
紅color1#ff7676rgb(255 118 118)hsl(0 100% 73%)oklch(72.8% 0.168 22.1)7.08 AAA
綠color2#50fa7brgb(80 250 123)hsl(135 94% 65%)oklch(87.1% 0.220 148.0)13.37 AAA
黃color3#ffcb6brgb(255 203 107)hsl(39 100% 71%)oklch(86.9% 0.128 81.1)12.24 AAA
藍color4#82aaffrgb(130 170 255)hsl(221 100% 75%)oklch(74.4% 0.131 264.3)7.99 AAA
洋紅color5#c792eargb(199 146 234)hsl(276 68% 75%)oklch(74.3% 0.135 311.1)7.62 AAA
青color6#8be9fdrgb(139 233 253)hsl(191 97% 77%)oklch(88.3% 0.093 212.8)13.25 AAA
白color7#f8f8f2rgb(248 248 242)hsl(60 30% 96%)oklch(97.7% 0.008 106.5)17.21 AAA
亮黑color8#9ba1b5rgb(155 161 181)hsl(226 15% 66%)oklch(71.1% 0.030 272.4)7.13 AAA
亮紅color9#ff8a8argb(255 138 138)hsl(0 100% 77%)oklch(76.1% 0.142 20.9)8.08 AAA
亮綠color10#69ff94rgb(105 255 148)hsl(137 100% 71%)oklch(89.4% 0.195 150.0)14.27 AAA
亮黃color11#ffd98argb(255 217 138)hsl(41 100% 77%)oklch(90.1% 0.106 84.7)13.58 AAA
亮藍color12#d6acffrgb(214 172 255)hsl(270 100% 84%)oklch(81.1% 0.122 307.0)9.79 AAA
亮洋紅color13#ff92dfrgb(255 146 223)hsl(318 100% 79%)oklch(79.9% 0.160 339.0)9.11 AAA
亮青color14#a4ffffrgb(164 255 255)hsl(180 100% 82%)oklch(94.3% 0.087 195.8)16.01 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.35 AAA

關於 Dracula+ High Contrast

Dracula+ High Contrast 採用冷色調的深色背景(#14141a),預設前景色為 #f8f8f2。內文的 WCAG 對比度為 17.21:1(AAA),12 種 ANSI 彩色槽位平均對比度 11.03:1,最低 7.08:1。

色票整體色彩彩度適中,其中紅色為 #ff7676、綠色為 #50fa7b、藍色為 #82aaff、洋紅為 #c792ea。此配色歸屬 Dracula 主題系列。

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

與 Dracula+ High Contrast 相似的配色

資料來源:iTerm2 Color Schemes (MIT)