跳到主要內容

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