跳到正文

Base4Tone Classic C

Base4Tone Classic C 是一套深色终端配色(柔和),背景色 #221f1c,文字色 #a39b8f,对比度 6.0:1

获取配置
背景色
#221f1c
前景色
#a39b8f
文字对比度
5.97:1AA
强调色对比度
7.93:1最低 4.34
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
❯

Base4Tone Classic C 的配置文件

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

Base4Tone Classic C

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

更多 Ghostty 配色
原始文件
# Theme: Base4Tone Classic C (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/base4tone-classic-c?format=ghostty

palette = 0=#221f1c
palette = 1=#049a61
palette = 2=#de5745
palette = 3=#f18c7e
palette = 4=#e6971a
palette = 5=#adc115
palette = 6=#e97263
palette = 7=#eeebe8
palette = 8=#0d0b07
palette = 9=#16ca85
palette = 10=#f39c91
palette = 11=#fbbab1
palette = 12=#f5d8a8
palette = 13=#c5dc18
palette = 14=#f3cd91
palette = 15=#f9f8f6
background = #221f1c
foreground = #a39b8f
cursor-color = #847371
cursor-text = #221f1c
selection-background = #3f3b36
selection-foreground = #a39b8f

Base4Tone Classic C 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#221f1crgb(34 31 28)hsl(30 10% 12%)oklch(24.2% 0.007 67.5)—
前景色foreground#a39b8frgb(163 155 143)hsl(36 10% 60%)oklch(69.3% 0.020 78.2)5.97 AA
光标cursor#847371rgb(132 115 113)hsl(6 8% 48%)oklch(57.1% 0.022 25.8)3.65 AA 大字号
光标文字cursorText#221f1crgb(34 31 28)hsl(30 10% 12%)oklch(24.2% 0.007 67.5)1.00 低于 AA
选区selection#3f3b36rgb(63 59 54)hsl(33 8% 23%)oklch(35.5% 0.010 73.6)1.48 低于 AA
选区文字selectionText#a39b8frgb(163 155 143)hsl(36 10% 60%)oklch(69.3% 0.020 78.2)5.97 AA
黑color0#221f1crgb(34 31 28)hsl(30 10% 12%)oklch(24.2% 0.007 67.5)1.00 低于 AA
红color1#049a61rgb(4 154 97)hsl(157 95% 31%)oklch(60.5% 0.140 158.4)4.53 AA
绿color2#de5745rgb(222 87 69)hsl(7 70% 57%)oklch(63.0% 0.173 30.2)4.34 AA 大字号
黄color3#f18c7ergb(241 140 126)hsl(7 80% 72%)oklch(74.4% 0.125 28.8)6.87 AA
蓝color4#e6971argb(230 151 26)hsl(37 80% 50%)oklch(73.9% 0.153 70.8)6.88 AA
品红color5#adc115rgb(173 193 21)hsl(67 80% 42%)oklch(76.9% 0.173 117.1)8.13 AAA
青color6#e97263rgb(233 114 99)hsl(7 75% 65%)oklch(68.8% 0.150 28.9)5.51 AA
白color7#eeebe8rgb(238 235 232)hsl(30 15% 92%)oklch(94.2% 0.005 67.8)13.81 AAA
亮黑color8#0d0b07rgb(13 11 7)hsl(40 30% 4%)oklch(15.0% 0.009 86.1)1.20 低于 AA
亮红color9#16ca85rgb(22 202 133)hsl(157 80% 44%)oklch(74.1% 0.166 159.5)7.67 AAA
亮绿color10#f39c91rgb(243 156 145)hsl(7 80% 76%)oklch(77.7% 0.106 27.6)7.79 AAA
亮黄color11#fbbab1rgb(251 186 177)hsl(7 90% 84%)oklch(84.6% 0.077 27.7)9.96 AAA
亮蓝color12#f5d8a8rgb(245 216 168)hsl(37 79% 81%)oklch(89.5% 0.070 80.1)11.92 AAA
亮品红color13#c5dc18rgb(197 220 24)hsl(67 80% 48%)oklch(84.8% 0.192 117.2)10.64 AAA
亮青color14#f3cd91rgb(243 205 145)hsl(37 80% 76%)oklch(86.7% 0.088 78.6)10.89 AAA
亮白color15#f9f8f6rgb(249 248 246)hsl(40 20% 97%)oklch(97.9% 0.003 84.6)15.45 AAA

关于 Base4Tone Classic C

Base4Tone Classic C 采用中性色调的深色背景(#221f1c),默认前景色为 #a39b8f。正文的 WCAG 对比度为 5.97:1(AA),12 种 ANSI 彩色槽位平均对比度 7.93:1,最低 4.34:1。

色板整体色彩饱和度适中,其中红色为 #049a61、绿色为 #de5745、蓝色为 #e6971a、品红为 #adc115。该配色归属 Base4Tone 主题系列。

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

与 Base4Tone Classic C 相似的配色

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