跳到正文

Baitong

Baitong 是一套深色终端配色(鲜艳、冷色),背景色 #112a2a,文字色 #33ff33,对比度 11.2:1

获取配置
背景色
#112a2a
前景色
#33ff33
文字对比度
11.16:1AAA
强调色对比度
9.11:1最低 5.48
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
❯

Baitong 的配置文件

16 种格式,都从同一份色板生成

Baitong

存到 ~/.config/ghostty/themes/Baitong,再在 config 或 config.ghostty 里写 theme = Baitong

更多 Ghostty 配色
原始文件
# Theme: Baitong (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/baitong?format=ghostty

palette = 0=#000000
palette = 1=#f77272
palette = 2=#33ff33
palette = 3=#1ae642
palette = 4=#68fdfe
palette = 5=#ff66ff
palette = 6=#87cefa
palette = 7=#dbdbd9
palette = 8=#ffffff
palette = 9=#f77272
palette = 10=#33ff33
palette = 11=#1ae642
palette = 12=#68fdfe
palette = 13=#ff66ff
palette = 14=#68fdfe
palette = 15=#dbdbd9
background = #112a2a
foreground = #33ff33
cursor-color = #33ff33
cursor-text = #112a2a
selection-background = #1c5a37
selection-foreground = #33ff33

Baitong 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#112a2argb(17 42 42)hsl(180 42% 12%)oklch(26.5% 0.031 195.4)—
前景色foreground#33ff33rgb(51 255 51)hsl(120 100% 60%)oklch(87.2% 0.279 142.7)11.16 AAA
光标cursor#33ff33rgb(51 255 51)hsl(120 100% 60%)oklch(87.2% 0.279 142.7)11.16 AAA
光标文字cursorText#112a2argb(17 42 42)hsl(180 42% 12%)oklch(26.5% 0.031 195.4)1.00 低于 AA
选区selection#1c5a37rgb(28 90 55)hsl(146 53% 23%)oklch(41.8% 0.086 154.9)1.85 低于 AA
选区文字selectionText#33ff33rgb(51 255 51)hsl(120 100% 60%)oklch(87.2% 0.279 142.7)11.16 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.39 低于 AA
红color1#f77272rgb(247 114 114)hsl(0 89% 71%)oklch(71.1% 0.164 22.1)5.48 AA
绿color2#33ff33rgb(51 255 51)hsl(120 100% 60%)oklch(87.2% 0.279 142.7)11.16 AAA
黄color3#1ae642rgb(26 230 66)hsl(132 80% 50%)oklch(80.5% 0.250 144.7)8.96 AAA
蓝color4#68fdfergb(104 253 254)hsl(180 99% 70%)oklch(91.5% 0.126 195.8)12.29 AAA
品红color5#ff66ffrgb(255 102 255)hsl(300 100% 70%)oklch(75.7% 0.251 327.7)6.19 AA
青color6#87cefargb(135 206 250)hsl(203 92% 75%)oklch(82.1% 0.095 236.8)8.81 AAA
白color7#dbdbd9rgb(219 219 217)hsl(60 3% 85%)oklch(89.1% 0.003 106.5)10.91 AAA
亮黑color8#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.12 AAA
亮红color9#f77272rgb(247 114 114)hsl(0 89% 71%)oklch(71.1% 0.164 22.1)5.48 AA
亮绿color10#33ff33rgb(51 255 51)hsl(120 100% 60%)oklch(87.2% 0.279 142.7)11.16 AAA
亮黄color11#1ae642rgb(26 230 66)hsl(132 80% 50%)oklch(80.5% 0.250 144.7)8.96 AAA
亮蓝color12#68fdfergb(104 253 254)hsl(180 99% 70%)oklch(91.5% 0.126 195.8)12.29 AAA
亮品红color13#ff66ffrgb(255 102 255)hsl(300 100% 70%)oklch(75.7% 0.251 327.7)6.19 AA
亮青color14#68fdfergb(104 253 254)hsl(180 99% 70%)oklch(91.5% 0.126 195.8)12.29 AAA
亮白color15#dbdbd9rgb(219 219 217)hsl(60 3% 85%)oklch(89.1% 0.003 106.5)10.91 AAA

关于 Baitong

Baitong 采用冷色调的深色背景(#112a2a),默认前景色为 #33ff33。正文的 WCAG 对比度为 11.16:1(AAA),12 种 ANSI 彩色槽位平均对比度 9.11:1,最低 5.48:1。

色板整体色彩饱和度较高,其中红色为 #f77272、绿色为 #33ff33、蓝色为 #68fdfe、品红为 #ff66ff。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Baitong 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)