跳到主要內容

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/zh-hk/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)