跳到主要內容

Dracula+

Dracula+ 是一套深色終端機配色(高對比),背景色 #212121,文字色 #f8f8f2,對比度 15.1:1

取得設定檔
背景色
#212121
前景色
#f8f8f2
文字對比度
15.11:1AAA
強調色對比度
9.40:1最低 5.12
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+ 的設定檔

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

Dracula+

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

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

palette = 0=#21222c
palette = 1=#ff5555
palette = 2=#50fa7b
palette = 3=#ffcb6b
palette = 4=#82aaff
palette = 5=#c792ea
palette = 6=#8be9fd
palette = 7=#f8f8f2
palette = 8=#545454
palette = 9=#ff6e6e
palette = 10=#69ff94
palette = 11=#ffcb6b
palette = 12=#d6acff
palette = 13=#ff92df
palette = 14=#a4ffff
palette = 15=#f8f8f2
background = #212121
foreground = #f8f8f2
cursor-color = #eceff4
cursor-text = #282828
selection-background = #f8f8f2
selection-foreground = #545454

Dracula+ 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#212121rgb(33 33 33)hsl(0 0% 13%)oklch(24.8% 0.000 0)—
前景色foreground#f8f8f2rgb(248 248 242)hsl(60 30% 96%)oklch(97.7% 0.008 106.5)15.11 AAA
游標cursor#eceff4rgb(236 239 244)hsl(218 27% 94%)oklch(95.1% 0.007 260.7)13.97 AAA
游標文字cursorText#282828rgb(40 40 40)hsl(0 0% 16%)oklch(27.7% 0.000 0)1.09 低於 AA
選取範圍selection#f8f8f2rgb(248 248 242)hsl(60 30% 96%)oklch(97.7% 0.008 106.5)15.11 AAA
選取文字selectionText#545454rgb(84 84 84)hsl(0 0% 33%)oklch(44.6% 0.000 0)2.13 低於 AA
黑color0#21222crgb(33 34 44)hsl(235 14% 15%)oklch(25.5% 0.019 280.5)1.02 低於 AA
紅color1#ff5555rgb(255 85 85)hsl(0 100% 67%)oklch(68.2% 0.206 24.4)5.12 AA
綠color2#50fa7brgb(80 250 123)hsl(135 94% 65%)oklch(87.1% 0.220 148.0)11.73 AAA
黃color3#ffcb6brgb(255 203 107)hsl(39 100% 71%)oklch(86.9% 0.128 81.1)10.74 AAA
藍color4#82aaffrgb(130 170 255)hsl(221 100% 75%)oklch(74.4% 0.131 264.3)7.01 AAA
洋紅color5#c792eargb(199 146 234)hsl(276 68% 75%)oklch(74.3% 0.135 311.1)6.69 AA
青color6#8be9fdrgb(139 233 253)hsl(191 97% 77%)oklch(88.3% 0.093 212.8)11.63 AAA
白color7#f8f8f2rgb(248 248 242)hsl(60 30% 96%)oklch(97.7% 0.008 106.5)15.11 AAA
亮黑color8#545454rgb(84 84 84)hsl(0 0% 33%)oklch(44.6% 0.000 0)2.13 低於 AA
亮紅color9#ff6e6ergb(255 110 110)hsl(0 100% 72%)oklch(71.6% 0.178 22.6)5.91 AA
亮綠color10#69ff94rgb(105 255 148)hsl(137 100% 71%)oklch(89.4% 0.195 150.0)12.52 AAA
亮黃color11#ffcb6brgb(255 203 107)hsl(39 100% 71%)oklch(86.9% 0.128 81.1)10.74 AAA
亮藍color12#d6acffrgb(214 172 255)hsl(270 100% 84%)oklch(81.1% 0.122 307.0)8.59 AAA
亮洋紅color13#ff92dfrgb(255 146 223)hsl(318 100% 79%)oklch(79.9% 0.160 339.0)8.00 AAA
亮青color14#a4ffffrgb(164 255 255)hsl(180 100% 82%)oklch(94.3% 0.087 195.8)14.05 AAA
亮白color15#f8f8f2rgb(248 248 242)hsl(60 30% 96%)oklch(97.7% 0.008 106.5)15.11 AAA

關於 Dracula+

Dracula+ 採用中性色調的深色背景(#212121),預設前景色為 #f8f8f2。內文的 WCAG 對比度為 15.11:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.40:1,最低 5.12:1。

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

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

此色票在上游儲存庫中也曾以 DraculaPlus、Dracula Plus 的名稱發布

與 Dracula+ 相似的配色

資料來源:iTerm2 Color Schemes (MIT)