跳到正文

Base4Tone Classic W

Base4Tone Classic W 是一套深色终端配色(柔和),背景色 #201d1e,文字色 #9e9498,对比度 5.7:1

获取配置
背景色
#201d1e
前景色
#9e9498
文字对比度
5.69:1AA
强调色对比度
7.03:1最低 4.31
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 W 的配置文件

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

Base4Tone Classic W

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

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

palette = 0=#201d1e
palette = 1=#b87305
palette = 2=#ca45de
palette = 3=#e17ef1
palette = 4=#eb75a2
palette = 5=#e97263
palette = 6=#d763e9
palette = 7=#ede8ea
palette = 8=#0d080a
palette = 9=#e6971a
palette = 10=#e691f3
palette = 11=#edb1f6
palette = 12=#f8bfd5
palette = 13=#f18c7e
palette = 14=#f6b1cc
palette = 15=#f9f6f7
background = #201d1e
foreground = #9e9498
cursor-color = #7f7481
cursor-text = #201d1e
selection-background = #3c3839
selection-foreground = #9e9498

Base4Tone Classic W 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#201d1ergb(32 29 30)hsl(340 5% 12%)oklch(23.5% 0.005 355.2)—
前景色foreground#9e9498rgb(158 148 152)hsl(336 5% 60%)oklch(67.6% 0.013 351.2)5.69 AA
光标cursor#7f7481rgb(127 116 129)hsl(291 5% 48%)oklch(57.3% 0.024 321.0)3.76 AA 大字号
光标文字cursorText#201d1ergb(32 29 30)hsl(340 5% 12%)oklch(23.5% 0.005 355.2)1.00 低于 AA
选区selection#3c3839rgb(60 56 57)hsl(345 3% 23%)oklch(34.5% 0.006 0.3)1.45 低于 AA
选区文字selectionText#9e9498rgb(158 148 152)hsl(336 5% 60%)oklch(67.6% 0.013 351.2)5.69 AA
黑color0#201d1ergb(32 29 30)hsl(340 5% 12%)oklch(23.5% 0.005 355.2)1.00 低于 AA
红color1#b87305rgb(184 115 5)hsl(37 95% 37%)oklch(61.5% 0.133 68.4)4.37 AA 大字号
绿color2#ca45dergb(202 69 222)hsl(292 70% 57%)oklch(63.6% 0.240 322.2)4.31 AA 大字号
黄color3#e17ef1rgb(225 126 241)hsl(292 80% 72%)oklch(74.3% 0.188 321.9)6.73 AA
蓝color4#eb75a2rgb(235 117 162)hsl(337 75% 69%)oklch(71.1% 0.153 357.6)6.05 AA
品红color5#e97263rgb(233 114 99)hsl(7 75% 65%)oklch(68.8% 0.150 28.9)5.61 AA
青color6#d763e9rgb(215 99 233)hsl(292 75% 65%)oklch(69.1% 0.216 322.1)5.45 AA
白color7#ede8eargb(237 232 234)hsl(336 12% 92%)oklch(93.5% 0.006 350.8)13.80 AAA
亮黑color8#0d080argb(13 8 10)hsl(336 24% 4%)oklch(14.2% 0.010 351.6)1.19 低于 AA
亮红color9#e6971argb(230 151 26)hsl(37 80% 50%)oklch(73.9% 0.153 70.8)7.01 AAA
亮绿color10#e691f3rgb(230 145 243)hsl(292 80% 76%)oklch(77.7% 0.161 322.1)7.73 AAA
亮黄color11#edb1f6rgb(237 177 246)hsl(292 79% 83%)oklch(83.8% 0.114 322.0)9.73 AAA
亮蓝color12#f8bfd5rgb(248 191 213)hsl(337 80% 86%)oklch(86.2% 0.071 353.7)10.67 AAA
亮品红color13#f18c7ergb(241 140 126)hsl(7 80% 72%)oklch(74.4% 0.125 28.8)7.00 AAA
亮青color14#f6b1ccrgb(246 177 204)hsl(337 79% 83%)oklch(83.3% 0.087 353.9)9.62 AAA
亮白color15#f9f6f7rgb(249 246 247)hsl(340 20% 97%)oklch(97.6% 0.003 354.7)15.57 AAA

关于 Base4Tone Classic W

Base4Tone Classic W 采用中性色调的深色背景(#201d1e),默认前景色为 #9e9498。正文的 WCAG 对比度为 5.69:1(AA),12 种 ANSI 彩色槽位平均对比度 7.03:1,最低 4.31:1。

色板整体色彩饱和度适中,其中红色为 #b87305、绿色为 #ca45de、蓝色为 #eb75a2、品红为 #e97263。该配色归属 Base4Tone 主题系列。

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

与 Base4Tone Classic W 相似的配色

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