跳到主要內容

Base4Tone Modern W

Base4Tone Modern W 是一套深色終端機配色(柔和),背景色 #201d1e,文字色 #9e9498,對比度 5.7:1

取得設定檔
背景色
#201d1e
前景色
#9e9498
文字對比度
5.69:1AA
強調色對比度
7.73:1最低 4.86
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 Modern W 的設定檔

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

Base4Tone Modern W

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

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

palette = 0=#201d1e
palette = 1=#21a00d
palette = 2=#1398aa
palette = 3=#3ccadd
palette = 4=#eb75a2
palette = 5=#e97263
palette = 6=#23b4c7
palette = 7=#ede8ea
palette = 8=#0d080a
palette = 9=#39c723
palette = 10=#5ad2e2
palette = 11=#a4e6ef
palette = 12=#f8bfd5
palette = 13=#f18c7e
palette = 14=#f6b1cc
palette = 15=#f9f6f7
background = #201d1e
foreground = #9e9498
cursor-color = #6a878a
cursor-text = #201d1e
selection-background = #3c3839
selection-foreground = #9e9498

Base4Tone Modern W 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#201d1ergb(32 29 30)hsl(340 5% 12%)oklch(23.5% 0.005 355.2)—
前景色foreground#9e9498rgb(158 148 152)hsl(336 5% 60%)oklch(67.6% 0.013 351.2)5.69 AA
游標cursor#6a878argb(106 135 138)hsl(186 13% 48%)oklch(60.2% 0.033 204.1)4.34 AA 大字級
游標文字cursorText#201d1ergb(32 29 30)hsl(340 5% 12%)oklch(23.5% 0.005 355.2)1.00 低於 AA
選取範圍selection#3c3839rgb(60 56 57)hsl(345 3% 23%)oklch(34.5% 0.006 0.3)1.45 低於 AA
選取文字selectionText#9e9498rgb(158 148 152)hsl(336 5% 60%)oklch(67.6% 0.013 351.2)5.69 AA
黑color0#201d1ergb(32 29 30)hsl(340 5% 12%)oklch(23.5% 0.005 355.2)1.00 低於 AA
紅color1#21a00drgb(33 160 13)hsl(112 85% 34%)oklch(61.5% 0.201 141.6)4.86 AA
綠color2#1398aargb(19 152 170)hsl(187 80% 37%)oklch(62.4% 0.105 209.9)4.86 AA
黃color3#3ccaddrgb(60 202 221)hsl(187 70% 55%)oklch(77.3% 0.119 208.2)8.51 AAA
藍color4#eb75a2rgb(235 117 162)hsl(337 75% 69%)oklch(71.1% 0.153 357.6)6.05 AA
洋紅color5#e97263rgb(233 114 99)hsl(7 75% 65%)oklch(68.8% 0.150 28.9)5.61 AA
青color6#23b4c7rgb(35 180 199)hsl(187 70% 46%)oklch(70.7% 0.116 208.8)6.71 AA
白color7#ede8eargb(237 232 234)hsl(336 12% 92%)oklch(93.5% 0.006 350.8)13.80 AAA
亮黑color8#0d080argb(13 8 10)hsl(336 24% 4%)oklch(14.2% 0.010 351.6)1.19 低於 AA
亮紅color9#39c723rgb(57 199 35)hsl(112 70% 46%)oklch(72.7% 0.227 141.4)7.46 AAA
亮綠color10#5ad2e2rgb(90 210 226)hsl(187 70% 62%)oklch(80.2% 0.109 207.3)9.36 AAA
亮黃color11#a4e6efrgb(164 230 239)hsl(187 70% 79%)oklch(88.4% 0.067 206.6)12.06 AAA
亮藍color12#f8bfd5rgb(248 191 213)hsl(337 80% 86%)oklch(86.2% 0.071 353.7)10.67 AAA
亮洋紅color13#f18c7ergb(241 140 126)hsl(7 80% 72%)oklch(74.4% 0.125 28.8)7.00 AAA
亮青color14#f6b1ccrgb(246 177 204)hsl(337 79% 83%)oklch(83.3% 0.087 353.9)9.62 AAA
亮白color15#f9f6f7rgb(249 246 247)hsl(340 20% 97%)oklch(97.6% 0.003 354.7)15.57 AAA

關於 Base4Tone Modern W

Base4Tone Modern W 採用中性色調的深色背景(#201d1e),預設前景色為 #9e9498。內文的 WCAG 對比度為 5.69:1(AA),12 種 ANSI 彩色槽位平均對比度 7.73:1,最低 4.86:1。

色票整體色彩彩度適中,其中紅色為 #21a00d、綠色為 #1398aa、藍色為 #eb75a2、洋紅為 #e97263。此配色歸屬 Base4Tone 主題系列。

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

與 Base4Tone Modern W 相似的配色

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