跳到主要內容

Base4Tone Classic C

Base4Tone Classic C 是一套深色終端機配色(柔和),背景色 #221f1c,文字色 #a39b8f,對比度 6.0:1

取得設定檔
背景色
#221f1c
前景色
#a39b8f
文字對比度
5.97:1AA
強調色對比度
7.93:1最低 4.34
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 C 的設定檔

16 種格式,都從同一份色票產生

Base4Tone Classic C

存到 ~/.config/ghostty/themes/Base4Tone Classic C,再在 config 或 config.ghostty 裡寫 theme = Base4Tone Classic C

更多 Ghostty 配色
原始檔
# Theme: Base4Tone Classic C (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/base4tone-classic-c?format=ghostty

palette = 0=#221f1c
palette = 1=#049a61
palette = 2=#de5745
palette = 3=#f18c7e
palette = 4=#e6971a
palette = 5=#adc115
palette = 6=#e97263
palette = 7=#eeebe8
palette = 8=#0d0b07
palette = 9=#16ca85
palette = 10=#f39c91
palette = 11=#fbbab1
palette = 12=#f5d8a8
palette = 13=#c5dc18
palette = 14=#f3cd91
palette = 15=#f9f8f6
background = #221f1c
foreground = #a39b8f
cursor-color = #847371
cursor-text = #221f1c
selection-background = #3f3b36
selection-foreground = #a39b8f

Base4Tone Classic C 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#221f1crgb(34 31 28)hsl(30 10% 12%)oklch(24.2% 0.007 67.5)—
前景色foreground#a39b8frgb(163 155 143)hsl(36 10% 60%)oklch(69.3% 0.020 78.2)5.97 AA
游標cursor#847371rgb(132 115 113)hsl(6 8% 48%)oklch(57.1% 0.022 25.8)3.65 AA 大字級
游標文字cursorText#221f1crgb(34 31 28)hsl(30 10% 12%)oklch(24.2% 0.007 67.5)1.00 低於 AA
選取範圍selection#3f3b36rgb(63 59 54)hsl(33 8% 23%)oklch(35.5% 0.010 73.6)1.48 低於 AA
選取文字selectionText#a39b8frgb(163 155 143)hsl(36 10% 60%)oklch(69.3% 0.020 78.2)5.97 AA
黑color0#221f1crgb(34 31 28)hsl(30 10% 12%)oklch(24.2% 0.007 67.5)1.00 低於 AA
紅color1#049a61rgb(4 154 97)hsl(157 95% 31%)oklch(60.5% 0.140 158.4)4.53 AA
綠color2#de5745rgb(222 87 69)hsl(7 70% 57%)oklch(63.0% 0.173 30.2)4.34 AA 大字級
黃color3#f18c7ergb(241 140 126)hsl(7 80% 72%)oklch(74.4% 0.125 28.8)6.87 AA
藍color4#e6971argb(230 151 26)hsl(37 80% 50%)oklch(73.9% 0.153 70.8)6.88 AA
洋紅color5#adc115rgb(173 193 21)hsl(67 80% 42%)oklch(76.9% 0.173 117.1)8.13 AAA
青color6#e97263rgb(233 114 99)hsl(7 75% 65%)oklch(68.8% 0.150 28.9)5.51 AA
白color7#eeebe8rgb(238 235 232)hsl(30 15% 92%)oklch(94.2% 0.005 67.8)13.81 AAA
亮黑color8#0d0b07rgb(13 11 7)hsl(40 30% 4%)oklch(15.0% 0.009 86.1)1.20 低於 AA
亮紅color9#16ca85rgb(22 202 133)hsl(157 80% 44%)oklch(74.1% 0.166 159.5)7.67 AAA
亮綠color10#f39c91rgb(243 156 145)hsl(7 80% 76%)oklch(77.7% 0.106 27.6)7.79 AAA
亮黃color11#fbbab1rgb(251 186 177)hsl(7 90% 84%)oklch(84.6% 0.077 27.7)9.96 AAA
亮藍color12#f5d8a8rgb(245 216 168)hsl(37 79% 81%)oklch(89.5% 0.070 80.1)11.92 AAA
亮洋紅color13#c5dc18rgb(197 220 24)hsl(67 80% 48%)oklch(84.8% 0.192 117.2)10.64 AAA
亮青color14#f3cd91rgb(243 205 145)hsl(37 80% 76%)oklch(86.7% 0.088 78.6)10.89 AAA
亮白color15#f9f8f6rgb(249 248 246)hsl(40 20% 97%)oklch(97.9% 0.003 84.6)15.45 AAA

關於 Base4Tone Classic C

Base4Tone Classic C 採用中性色調的深色背景(#221f1c),預設前景色為 #a39b8f。內文的 WCAG 對比度為 5.97:1(AA),12 種 ANSI 彩色槽位平均對比度 7.93:1,最低 4.34:1。

色票整體色彩彩度適中,其中紅色為 #049a61、綠色為 #de5745、藍色為 #e6971a、洋紅為 #adc115。此配色歸屬 Base4Tone 主題系列。

支援一鍵匯出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 終端機設定檔,同時提供 VS Code 與 Zed 整合式終端機、CSS 變數、Tailwind CSS 及 JSON 色票格式。

與 Base4Tone Classic C 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)