跳到主要內容

Bilibili Dark

Bilibili Dark 是一套深色終端機配色(純黑、高對比),背景色 #000000,文字色 #ffffff,對比度 21.0:1

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

Bilibili Dark 的設定檔

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

Bilibili Dark

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

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

palette = 0=#616161
palette = 1=#e23d3d
palette = 2=#2ac864
palette = 3=#ffb027
palette = 4=#00aeec
palette = 5=#ff6699
palette = 6=#14c4bf
palette = 7=#f1f1f1
palette = 8=#696a66
palette = 9=#f85a54
palette = 10=#5fd689
palette = 11=#ffc65d
palette = 12=#40c5f1
palette = 13=#ff8cb0
palette = 14=#4fd3d1
palette = 15=#ffffff
background = #000000
foreground = #ffffff
cursor-color = #00aeec
cursor-text = #000000
selection-background = #222222
selection-foreground = #ffffff

Bilibili Dark 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
光標cursor#00aeecrgb(0 174 236)hsl(196 100% 46%)oklch(70.6% 0.146 233.1)8.27 AAA
光標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
選取範圍selection#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)1.32 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
黑color0#616161rgb(97 97 97)hsl(0 0% 38%)oklch(49.3% 0.000 0)3.39 AA 大字體
紅color1#e23d3drgb(226 61 61)hsl(0 74% 56%)oklch(60.8% 0.202 25.6)4.97 AA
綠color2#2ac864rgb(42 200 100)hsl(142 65% 47%)oklch(73.3% 0.189 150.1)9.54 AAA
黃color3#ffb027rgb(255 176 39)hsl(38 100% 58%)oklch(81.3% 0.163 74.5)11.49 AAA
藍color4#00aeecrgb(0 174 236)hsl(196 100% 46%)oklch(70.6% 0.146 233.1)8.27 AAA
洋紅color5#ff6699rgb(255 102 153)hsl(340 100% 70%)oklch(71.6% 0.191 2.5)7.61 AAA
青color6#14c4bfrgb(20 196 191)hsl(178 81% 42%)oklch(74.2% 0.125 191.5)9.68 AAA
白color7#f1f1f1rgb(241 241 241)hsl(0 0% 95%)oklch(95.8% 0.000 0)18.59 AAA
亮黑color8#696a66rgb(105 106 102)hsl(75 2% 41%)oklch(52.2% 0.006 118.0)3.85 AA 大字體
亮紅color9#f85a54rgb(248 90 84)hsl(2 92% 65%)oklch(67.7% 0.194 25.9)6.58 AA
亮綠color10#5fd689rgb(95 214 137)hsl(141 59% 61%)oklch(78.8% 0.154 152.8)11.47 AAA
亮黃color11#ffc65drgb(255 198 93)hsl(39 100% 68%)oklch(85.8% 0.137 80.4)13.49 AAA
亮藍color12#40c5f1rgb(64 197 241)hsl(195 86% 60%)oklch(77.1% 0.128 224.7)10.47 AAA
亮洋紅color13#ff8cb0rgb(255 140 176)hsl(341 100% 77%)oklch(77.4% 0.144 1.0)9.63 AAA
亮青color14#4fd3d1rgb(79 211 209)hsl(179 60% 57%)oklch(79.5% 0.114 193.7)11.57 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA

關於 Bilibili Dark

Bilibili Dark 採用中性色調的深色背景(#000000),預設前景色為 #ffffff。正文的 WCAG 對比度為 21.00:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.56:1,最低 4.97:1。

色板整體色彩飽和度適中,其中紅色為 #e23d3d、綠色為 #2ac864、藍色為 #00aeec、洋紅為 #ff6699。

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

與 Bilibili Dark 相似的配色

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