跳到正文

Base4Tone Classic U

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

获取配置
背景色
#201d20
前景色
#9e949d
文字对比度
5.70:1AA
强调色对比度
6.95:1最低 3.97
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 U 的配置文件

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

Base4Tone Classic U

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

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

palette = 0=#201d20
palette = 1=#ce672c
palette = 2=#aa52e0
palette = 3=#c988f2
palette = 4=#eb75dd
palette = 5=#e96375
palette = 6=#ba6cea
palette = 7=#ede8ed
palette = 8=#0d070c
palette = 9=#e78b55
palette = 10=#d19af4
palette = 11=#e0baf7
palette = 12=#f8c3f2
palette = 13=#f17e8e
palette = 14=#f6b1ee
palette = 15=#f9f6f8
background = #201d20
foreground = #9e949d
cursor-color = #7c7481
cursor-text = #201d20
selection-background = #3c383c
selection-foreground = #9e949d

Base4Tone Classic U 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#201d20rgb(32 29 32)hsl(300 5% 12%)oklch(23.5% 0.007 325.8)—
前景色foreground#9e949drgb(158 148 157)hsl(306 5% 60%)oklch(67.8% 0.017 328.9)5.70 AA
光标cursor#7c7481rgb(124 116 129)hsl(277 5% 48%)oklch(57.1% 0.022 312.7)3.71 AA 大字号
光标文字cursorText#201d20rgb(32 29 32)hsl(300 5% 12%)oklch(23.5% 0.007 325.8)1.00 低于 AA
选区selection#3c383crgb(60 56 60)hsl(300 3% 23%)oklch(34.6% 0.009 325.8)1.45 低于 AA
选区文字selectionText#9e949drgb(158 148 157)hsl(306 5% 60%)oklch(67.8% 0.017 328.9)5.70 AA
黑color0#201d20rgb(32 29 32)hsl(300 5% 12%)oklch(23.5% 0.007 325.8)1.00 低于 AA
红color1#ce672crgb(206 103 44)hsl(22 65% 49%)oklch(62.7% 0.148 47.2)4.45 AA 大字号
绿color2#aa52e0rgb(170 82 224)hsl(277 70% 60%)oklch(61.0% 0.213 310.1)3.97 AA 大字号
黄color3#c988f2rgb(201 136 242)hsl(277 80% 74%)oklch(73.2% 0.162 311.2)6.59 AA
蓝color4#eb75ddrgb(235 117 221)hsl(307 75% 69%)oklch(73.3% 0.190 332.0)6.46 AA
品红color5#e96375rgb(233 99 117)hsl(352 75% 65%)oklch(67.1% 0.166 14.6)5.17 AA
青color6#ba6ceargb(186 108 234)hsl(277 75% 67%)oklch(66.9% 0.192 310.8)5.10 AA
白color7#ede8edrgb(237 232 237)hsl(300 12% 92%)oklch(93.6% 0.009 325.6)13.80 AAA
亮黑color8#0d070crgb(13 7 12)hsl(310 30% 4%)oklch(14.0% 0.016 331.9)1.19 低于 AA
亮红color9#e78b55rgb(231 139 85)hsl(22 75% 62%)oklch(72.3% 0.132 49.9)6.54 AA
亮绿color10#d19af4rgb(209 154 244)hsl(277 80% 78%)oklch(77.1% 0.137 311.5)7.66 AAA
亮黄color11#e0baf7rgb(224 186 247)hsl(277 79% 85%)oklch(84.2% 0.093 312.5)9.96 AAA
亮蓝color12#f8c3f2rgb(248 195 242)hsl(307 79% 87%)oklch(87.8% 0.086 330.1)11.19 AAA
亮品红color13#f17e8ergb(241 126 142)hsl(352 80% 72%)oklch(72.6% 0.141 12.5)6.45 AA
亮青color14#f6b1eergb(246 177 238)hsl(307 79% 83%)oklch(84.4% 0.112 330.6)9.89 AAA
亮白color15#f9f6f8rgb(249 246 248)hsl(320 20% 97%)oklch(97.6% 0.004 337.4)15.55 AAA

关于 Base4Tone Classic U

Base4Tone Classic U 采用中性色调的深色背景(#201d20),默认前景色为 #9e949d。正文的 WCAG 对比度为 5.70:1(AA),12 种 ANSI 彩色槽位平均对比度 6.95:1,最低 3.97:1。

色板整体色彩饱和度适中,其中红色为 #ce672c、绿色为 #aa52e0、蓝色为 #eb75dd、品红为 #e96375。该配色归属 Base4Tone 主题系列。

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

与 Base4Tone Classic U 相似的配色

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