跳到主要內容

Base2Tone Cave

Base2Tone Cave 是一套深色終端機配色(柔和、單色),背景色 #222021,文字色 #9f999b,對比度 5.8:1

取得設定檔
背景色
#222021
前景色
#9f999b
文字對比度
5.79:1AA
強調色對比度
5.55:1最低 1.18
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
❯

Base2Tone Cave 的設定檔

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

Base2Tone Cave

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

更多 Ghostty 配色
原始檔
# Theme: Base2Tone Cave (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/base2tone-cave?format=ghostty

palette = 0=#222021
palette = 1=#936c7a
palette = 2=#cca133
palette = 3=#ffcc4d
palette = 4=#9c818b
palette = 5=#cca133
palette = 6=#d27998
palette = 7=#9f999b
palette = 8=#635f60
palette = 9=#ddaf3c
palette = 10=#2f2d2e
palette = 11=#565254
palette = 12=#706b6d
palette = 13=#f0a8c1
palette = 14=#c39622
palette = 15=#ffebf2
background = #222021
foreground = #9f999b
cursor-color = #996e00
cursor-text = #222021
selection-background = #3e3b3d
selection-foreground = #9f999b

Base2Tone Cave 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#222021rgb(34 32 33)hsl(330 3% 13%)oklch(24.6% 0.004 345.5)—
前景色foreground#9f999brgb(159 153 155)hsl(340 3% 61%)oklch(68.9% 0.008 354.9)5.79 AA
游標cursor#996e00rgb(153 110 0)hsl(43 100% 30%)oklch(56.7% 0.117 81.4)3.54 AA 大字級
游標文字cursorText#222021rgb(34 32 33)hsl(330 3% 13%)oklch(24.6% 0.004 345.5)1.00 低於 AA
選取範圍selection#3e3b3drgb(62 59 61)hsl(320 2% 24%)oklch(35.6% 0.005 337.6)1.46 低於 AA
選取文字selectionText#9f999brgb(159 153 155)hsl(340 3% 61%)oklch(68.9% 0.008 354.9)5.79 AA
黑color0#222021rgb(34 32 33)hsl(330 3% 13%)oklch(24.6% 0.004 345.5)1.00 低於 AA
紅color1#936c7argb(147 108 122)hsl(338 15% 50%)oklch(57.5% 0.053 355.6)3.60 AA 大字級
綠color2#cca133rgb(204 161 51)hsl(43 60% 50%)oklch(73.0% 0.132 86.4)6.72 AA
黃color3#ffcc4drgb(255 204 77)hsl(43 100% 65%)oklch(86.8% 0.151 86.4)10.79 AAA
藍color4#9c818brgb(156 129 139)hsl(338 12% 56%)oklch(63.1% 0.036 353.9)4.57 AA
洋紅color5#cca133rgb(204 161 51)hsl(43 60% 50%)oklch(73.0% 0.132 86.4)6.72 AA
青color6#d27998rgb(210 121 152)hsl(339 50% 65%)oklch(68.2% 0.116 358.3)5.34 AA
白color7#9f999brgb(159 153 155)hsl(340 3% 61%)oklch(68.9% 0.008 354.9)5.79 AA
亮黑color8#635f60rgb(99 95 96)hsl(345 2% 38%)oklch(49.0% 0.005 0.2)2.57 低於 AA
亮紅color9#ddaf3crgb(221 175 60)hsl(43 70% 55%)oklch(77.6% 0.138 86.1)7.92 AAA
亮綠color10#2f2d2ergb(47 45 46)hsl(330 2% 18%)oklch(30.0% 0.003 345.4)1.18 低於 AA
亮黃color11#565254rgb(86 82 84)hsl(330 2% 33%)oklch(44.3% 0.006 345.5)2.11 低於 AA
亮藍color12#706b6drgb(112 107 109)hsl(336 2% 43%)oklch(53.3% 0.007 351.0)3.09 AA 大字級
亮洋紅color13#f0a8c1rgb(240 168 193)hsl(339 71% 80%)oklch(80.7% 0.090 356.8)8.54 AAA
亮青color14#c39622rgb(195 150 34)hsl(43 70% 45%)oklch(69.7% 0.133 85.3)5.94 AA
亮白color15#ffebf2rgb(255 235 242)hsl(339 100% 96%)oklch(95.8% 0.023 354.3)14.20 AAA

關於 Base2Tone Cave

Base2Tone Cave 採用中性色調的深色背景(#222021),預設前景色為 #9f999b。內文的 WCAG 對比度為 5.79:1(AA),12 種 ANSI 彩色槽位平均對比度 5.55:1,最低 1.18:1。

色票整體色彩彩度偏低,其中紅色為 #936c7a、綠色為 #cca133、藍色為 #9c818b、洋紅為 #cca133。此配色歸屬 Base2Tone 主題系列。

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

與 Base2Tone Cave 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)