跳到正文

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