跳到正文

Base4Tone Classic D

Base4Tone Classic D 是一套深色终端配色(柔和),背景色 #21211c,文字色 #a2a090,对比度 6.1:1

获取配置
背景色
#21211c
前景色
#a2a090
文字对比度
6.13:1AA
强调色对比度
8.24:1最低 4.33
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 D 的配置文件

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

Base4Tone Classic D

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

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

palette = 0=#21211c
palette = 1=#049582
palette = 2=#da6b2b
palette = 3=#ee9968
palette = 4=#cfb617
palette = 5=#82c115
palette = 6=#e6854d
palette = 7=#eeede8
palette = 8=#0d0c07
palette = 9=#1cc4ae
palette = 10=#f0a57a
palette = 11=#f5c1a3
palette = 12=#f6edb1
palette = 13=#95dc18
palette = 14=#f2e58c
palette = 15=#f9f8f6
background = #21211c
foreground = #a2a090
cursor-color = #85776f
cursor-text = #21211c
selection-background = #3e3e36
selection-foreground = #a2a090

Base4Tone Classic D 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#21211crgb(33 33 28)hsl(60 8% 12%)oklch(24.6% 0.009 107.1)—
前景色foreground#a2a090rgb(162 160 144)hsl(53 9% 60%)oklch(70.3% 0.023 101.1)6.13 AA
光标cursor#85776frgb(133 119 111)hsl(22 9% 48%)oklch(58.0% 0.021 51.8)3.75 AA 大字号
光标文字cursorText#21211crgb(33 33 28)hsl(60 8% 12%)oklch(24.6% 0.009 107.1)1.00 低于 AA
选区selection#3e3e36rgb(62 62 54)hsl(60 7% 23%)oklch(36.1% 0.013 107.1)1.50 低于 AA
选区文字selectionText#a2a090rgb(162 160 144)hsl(53 9% 60%)oklch(70.3% 0.023 101.1)6.13 AA
黑color0#21211crgb(33 33 28)hsl(60 8% 12%)oklch(24.6% 0.009 107.1)1.00 低于 AA
红color1#049582rgb(4 149 130)hsl(172 95% 30%)oklch(60.0% 0.109 179.4)4.33 AA 大字号
绿color2#da6b2brgb(218 107 43)hsl(22 70% 51%)oklch(65.0% 0.158 46.9)4.71 AA
黄color3#ee9968rgb(238 153 104)hsl(22 80% 67%)oklch(75.9% 0.121 50.1)7.23 AAA
蓝color4#cfb617rgb(207 182 23)hsl(52 80% 45%)oklch(77.4% 0.156 98.9)7.97 AAA
品红color5#82c115rgb(130 193 21)hsl(82 80% 42%)oklch(74.0% 0.193 129.6)7.38 AAA
青color6#e6854drgb(230 133 77)hsl(22 75% 60%)oklch(71.1% 0.139 49.1)6.03 AA
白color7#eeede8rgb(238 237 232)hsl(50 15% 92%)oklch(94.5% 0.007 97.4)13.79 AAA
亮黑color8#0d0c07rgb(13 12 7)hsl(50 30% 4%)oklch(15.4% 0.011 98.6)1.21 低于 AA
亮红color9#1cc4aergb(28 196 174)hsl(172 75% 44%)oklch(73.7% 0.129 180.6)7.36 AAA
亮绿color10#f0a57argb(240 165 122)hsl(22 80% 71%)oklch(78.5% 0.106 50.5)7.98 AAA
亮黄color11#f5c1a3rgb(245 193 163)hsl(22 80% 80%)oklch(85.0% 0.072 51.4)10.04 AAA
亮蓝color12#f6edb1rgb(246 237 177)hsl(52 79% 83%)oklch(93.9% 0.077 100.6)13.60 AAA
亮品红color13#95dc18rgb(149 220 24)hsl(82 80% 48%)oklch(81.6% 0.213 129.6)9.64 AAA
亮青color14#f2e58crgb(242 229 140)hsl(52 80% 75%)oklch(91.3% 0.111 101.0)12.60 AAA
亮白color15#f9f8f6rgb(249 248 246)hsl(40 20% 97%)oklch(97.9% 0.003 84.6)15.23 AAA

关于 Base4Tone Classic D

Base4Tone Classic D 采用中性色调的深色背景(#21211c),默认前景色为 #a2a090。正文的 WCAG 对比度为 6.13:1(AA),12 种 ANSI 彩色槽位平均对比度 8.24:1,最低 4.33:1。

色板整体色彩饱和度适中,其中红色为 #049582、绿色为 #da6b2b、蓝色为 #cfb617、品红为 #82c115。该配色归属 Base4Tone 主题系列。

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

与 Base4Tone Classic D 相似的配色

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