跳到主要內容

JetBrains Darcula

JetBrains Darcula 是一套深色終端機配色(鮮豔),背景色 #202020,文字色 #adadad,對比度 7.3:1

取得設定檔
背景色
#202020
前景色
#adadad
文字對比度
7.26:1AAA
強調色對比度
7.52:1最低 2.53
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
❯

JetBrains Darcula 的設定檔

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

JetBrains Darcula

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

更多 Ghostty 配色
原始檔
# Theme: JetBrains Darcula (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/jetbrains-darcula?format=ghostty

palette = 0=#000000
palette = 1=#fa5355
palette = 2=#126e00
palette = 3=#c2c300
palette = 4=#4581eb
palette = 5=#fa54ff
palette = 6=#33c2c1
palette = 7=#adadad
palette = 8=#555555
palette = 9=#fb7172
palette = 10=#67ff4f
palette = 11=#ffff00
palette = 12=#6d9df1
palette = 13=#fb82ff
palette = 14=#60d3d1
palette = 15=#eeeeee
background = #202020
foreground = #adadad
cursor-color = #ffffff
cursor-text = #000000
selection-background = #1a3272
selection-foreground = #adadad

JetBrains Darcula 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#202020rgb(32 32 32)hsl(0 0% 13%)oklch(24.4% 0.000 0)—
前景色foreground#adadadrgb(173 173 173)hsl(0 0% 68%)oklch(74.8% 0.000 0)7.26 AAA
游標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.29 AAA
游標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.29 低於 AA
選取範圍selection#1a3272rgb(26 50 114)hsl(224 63% 27%)oklch(33.9% 0.115 265.2)1.35 低於 AA
選取文字selectionText#adadadrgb(173 173 173)hsl(0 0% 68%)oklch(74.8% 0.000 0)7.26 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.29 低於 AA
紅color1#fa5355rgb(250 83 85)hsl(359 94% 65%)oklch(67.2% 0.203 23.8)4.99 AA
綠color2#126e00rgb(18 110 0)hsl(110 100% 22%)oklch(46.9% 0.155 141.3)2.53 低於 AA
黃color3#c2c300rgb(194 195 0)hsl(60 100% 38%)oklch(79.0% 0.173 110.1)8.61 AAA
藍color4#4581ebrgb(69 129 235)hsl(218 81% 60%)oklch(61.7% 0.172 260.8)4.34 AA 大字級
洋紅color5#fa54ffrgb(250 84 255)hsl(298 100% 66%)oklch(73.2% 0.271 326.7)6.03 AA
青color6#33c2c1rgb(51 194 193)hsl(180 58% 48%)oklch(74.2% 0.116 194.2)7.47 AAA
白color7#adadadrgb(173 173 173)hsl(0 0% 68%)oklch(74.8% 0.000 0)7.26 AAA
亮黑color8#555555rgb(85 85 85)hsl(0 0% 33%)oklch(45.0% 0.000 0)2.19 低於 AA
亮紅color9#fb7172rgb(251 113 114)hsl(360 95% 71%)oklch(71.5% 0.169 21.9)5.98 AA
亮綠color10#67ff4frgb(103 255 79)hsl(112 100% 65%)oklch(88.5% 0.250 141.1)12.41 AAA
亮黃color11#ffff00rgb(255 255 0)hsl(60 100% 50%)oklch(96.8% 0.211 109.8)15.17 AAA
亮藍color12#6d9df1rgb(109 157 241)hsl(218 83% 69%)oklch(69.8% 0.135 261.0)6.01 AA
亮洋紅color13#fb82ffrgb(251 130 255)hsl(298 100% 75%)oklch(78.5% 0.209 326.1)7.56 AAA
亮青color14#60d3d1rgb(96 211 209)hsl(179 57% 60%)oklch(80.0% 0.104 193.7)9.11 AAA
亮白color15#eeeeeergb(238 238 238)hsl(0 0% 93%)oklch(94.9% 0.000 0)14.04 AAA

關於 JetBrains Darcula

JetBrains Darcula 採用中性色調的深色背景(#202020),預設前景色為 #adadad。內文的 WCAG 對比度為 7.26:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.52:1,最低 2.53:1。

色票整體色彩彩度較高,其中紅色為 #fa5355、綠色為 #126e00、藍色為 #4581eb、洋紅為 #fa54ff。此配色歸屬 JetBrains 主題系列。

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

與 JetBrains Darcula 相似的配色

資料來源:iTerm2 Color Schemes (MIT)