跳到主要內容

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