跳到正文

Base4Tone Classic O

Base4Tone Classic O 是一套深色终端配色(柔和、冷色),背景色 #1a1d23,文字色 #8995a9,对比度 5.6:1

获取配置
背景色
#1a1d23
前景色
#8995a9
文字对比度
5.58:1AA
强调色对比度
8.03:1最低 3.63
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 O 的配置文件

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

Base4Tone Classic O

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

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

palette = 0=#1a1d23
palette = 1=#a24ad9
palette = 2=#0d9c89
palette = 3=#1ed2ba
palette = 4=#74a8fb
palette = 5=#9488f2
palette = 6=#1bbba6
palette = 7=#e7eaee
palette = 8=#07090d
palette = 9=#c27eed
palette = 10=#2fdac3
palette = 11=#93ece0
palette = 12=#c7dcff
palette = 13=#aba1f7
palette = 14=#c2d9ff
palette = 15=#f6f7f9
background = #1a1d23
foreground = #8995a9
cursor-color = #6d8884
cursor-text = #1a1d23
selection-background = #333841
selection-foreground = #8995a9

Base4Tone Classic O 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#1a1d23rgb(26 29 35)hsl(220 15% 12%)oklch(23.0% 0.012 264.3)—
前景色foreground#8995a9rgb(137 149 169)hsl(217 16% 60%)oklch(66.7% 0.033 260.7)5.58 AA
光标cursor#6d8884rgb(109 136 132)hsl(171 11% 48%)oklch(60.5% 0.031 185.4)4.43 AA 大字号
光标文字cursorText#1a1d23rgb(26 29 35)hsl(220 15% 12%)oklch(23.0% 0.012 264.3)1.00 低于 AA
选区selection#333841rgb(51 56 65)hsl(219 12% 23%)oklch(34.0% 0.017 262.3)1.43 低于 AA
选区文字selectionText#8995a9rgb(137 149 169)hsl(217 16% 60%)oklch(66.7% 0.033 260.7)5.58 AA
黑color0#1a1d23rgb(26 29 35)hsl(220 15% 12%)oklch(23.0% 0.012 264.3)1.00 低于 AA
红color1#a24ad9rgb(162 74 217)hsl(277 65% 57%)oklch(58.6% 0.214 309.6)3.63 AA 大字号
绿color2#0d9c89rgb(13 156 137)hsl(172 85% 33%)oklch(62.2% 0.111 179.9)4.93 AA
黄color3#1ed2bargb(30 210 186)hsl(172 75% 47%)oklch(77.6% 0.136 180.4)8.83 AAA
蓝color4#74a8fbrgb(116 168 251)hsl(217 94% 72%)oklch(73.0% 0.133 259.4)7.02 AAA
品红color5#9488f2rgb(148 136 242)hsl(247 80% 74%)oklch(68.3% 0.153 286.8)5.68 AA
青color6#1bbba6rgb(27 187 166)hsl(172 75% 42%)oklch(71.2% 0.124 180.7)7.00 AA
白color7#e7eaeergb(231 234 238)hsl(214 17% 92%)oklch(93.6% 0.006 255.5)13.99 AAA
亮黑color8#07090drgb(7 9 13)hsl(220 30% 4%)oklch(13.9% 0.010 261.8)1.18 低于 AA
亮红color9#c27eedrgb(194 126 237)hsl(277 76% 71%)oklch(70.6% 0.170 311.0)6.03 AA
亮绿color10#2fdac3rgb(47 218 195)hsl(172 70% 52%)oklch(80.1% 0.136 181.1)9.60 AAA
亮黄color11#93ece0rgb(147 236 224)hsl(172 70% 75%)oklch(88.4% 0.088 184.9)12.31 AAA
亮蓝color12#c7dcffrgb(199 220 255)hsl(218 100% 89%)oklch(89.0% 0.053 260.6)12.15 AAA
亮品红color13#aba1f7rgb(171 161 247)hsl(247 84% 80%)oklch(75.1% 0.122 288.4)7.37 AAA
亮青color14#c2d9ffrgb(194 217 255)hsl(217 100% 88%)oklch(88.1% 0.058 260.4)11.79 AAA
亮白color15#f6f7f9rgb(246 247 249)hsl(220 20% 97%)oklch(97.6% 0.003 264.5)15.75 AAA

关于 Base4Tone Classic O

Base4Tone Classic O 采用冷色调的深色背景(#1a1d23),默认前景色为 #8995a9。正文的 WCAG 对比度为 5.58:1(AA),12 种 ANSI 彩色槽位平均对比度 8.03:1,最低 3.63:1。

色板整体色彩饱和度适中,其中红色为 #a24ad9、绿色为 #0d9c89、蓝色为 #74a8fb、品红为 #9488f2。该配色归属 Base4Tone 主题系列。

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

与 Base4Tone Classic O 相似的配色

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