跳到正文

Base4Tone Classic S

Base4Tone Classic S 是一套深色终端配色(柔和),背景色 #1f1d20,文字色 #9a949e,对比度 5.7:1

获取配置
背景色
#1f1d20
前景色
#9a949e
文字对比度
5.66:1AA
强调色对比度
7.19:1最低 4.02
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 S 的配置文件

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

Base4Tone Classic S

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

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

palette = 0=#1f1d20
palette = 1=#d64f3d
palette = 2=#7e70e6
palette = 3=#aba1f7
palette = 4=#c27eed
palette = 5=#e963b8
palette = 6=#9488f2
palette = 7=#ebe8ed
palette = 8=#0b070d
palette = 9=#eb8275
palette = 10=#b7aff8
palette = 11=#d1cbfb
palette = 12=#e6c8f9
palette = 13=#f17ec7
palette = 14=#e0baf7
palette = 15=#f8f6f9
background = #1f1d20
foreground = #9a949e
cursor-color = #767481
cursor-text = #1f1d20
selection-background = #3b383c
selection-foreground = #9a949e

Base4Tone Classic S 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#1f1d20rgb(31 29 32)hsl(280 5% 12%)oklch(23.4% 0.006 314.7)—
前景色foreground#9a949ergb(154 148 158)hsl(276 5% 60%)oklch(67.5% 0.016 312.2)5.66 AA
光标cursor#767481rgb(118 116 129)hsl(249 5% 48%)oklch(56.5% 0.020 292.8)3.65 AA 大字号
光标文字cursorText#1f1d20rgb(31 29 32)hsl(280 5% 12%)oklch(23.4% 0.006 314.7)1.00 低于 AA
选区selection#3b383crgb(59 56 60)hsl(285 3% 23%)oklch(34.5% 0.008 317.7)1.45 低于 AA
选区文字selectionText#9a949ergb(154 148 158)hsl(276 5% 60%)oklch(67.5% 0.016 312.2)5.66 AA
黑color0#1f1d20rgb(31 29 32)hsl(280 5% 12%)oklch(23.4% 0.006 314.7)1.00 低于 AA
红color1#d64f3drgb(214 79 61)hsl(7 65% 54%)oklch(60.7% 0.173 30.4)4.02 AA 大字号
绿color2#7e70e6rgb(126 112 230)hsl(247 70% 67%)oklch(61.5% 0.172 285.6)4.26 AA 大字号
黄color3#aba1f7rgb(171 161 247)hsl(247 84% 80%)oklch(75.1% 0.122 288.4)7.31 AAA
蓝color4#c27eedrgb(194 126 237)hsl(277 76% 71%)oklch(70.6% 0.170 311.0)5.98 AA
品红color5#e963b8rgb(233 99 184)hsl(322 75% 65%)oklch(69.2% 0.190 344.2)5.53 AA
青color6#9488f2rgb(148 136 242)hsl(247 80% 74%)oklch(68.3% 0.153 286.8)5.63 AA
白color7#ebe8edrgb(235 232 237)hsl(276 12% 92%)oklch(93.5% 0.007 312.3)13.78 AAA
亮黑color8#0b070drgb(11 7 13)hsl(280 30% 4%)oklch(13.8% 0.015 315.0)1.19 低于 AA
亮红color9#eb8275rgb(235 130 117)hsl(7 75% 69%)oklch(71.9% 0.131 28.2)6.36 AA
亮绿color10#b7aff8rgb(183 175 248)hsl(247 84% 83%)oklch(78.7% 0.103 288.8)8.37 AAA
亮黄color11#d1cbfbrgb(209 203 251)hsl(248 86% 89%)oklch(86.3% 0.066 290.7)10.87 AAA
亮蓝color12#e6c8f9rgb(230 200 249)hsl(277 80% 88%)oklch(87.4% 0.074 312.2)11.15 AAA
亮品红color13#f17ec7rgb(241 126 199)hsl(322 80% 72%)oklch(74.4% 0.164 343.0)6.81 AA
亮青color14#e0baf7rgb(224 186 247)hsl(277 79% 85%)oklch(84.2% 0.093 312.5)9.99 AAA
亮白color15#f8f6f9rgb(248 246 249)hsl(280 20% 97%)oklch(97.6% 0.004 314.8)15.57 AAA

关于 Base4Tone Classic S

Base4Tone Classic S 采用中性色调的深色背景(#1f1d20),默认前景色为 #9a949e。正文的 WCAG 对比度为 5.66:1(AA),12 种 ANSI 彩色槽位平均对比度 7.19:1,最低 4.02:1。

色板整体色彩饱和度适中,其中红色为 #d64f3d、绿色为 #7e70e6、蓝色为 #c27eed、品红为 #e963b8。该配色归属 Base4Tone 主题系列。

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

与 Base4Tone Classic S 相似的配色

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