跳到正文

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/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)