跳到主要內容

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