跳到主要內容

Base4Tone Classic P

Base4Tone Classic P 是一套深色終端機配色(柔和),背景色 #1c1d21,文字色 #9092a2,對比度 5.5:1

取得設定檔
背景色
#1c1d21
前景色
#9092a2
文字對比度
5.47:1AA
強調色對比度
7.78:1最低 3.84
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 P 的設定檔

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

Base4Tone Classic P

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

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

palette = 0=#1c1d21
palette = 1=#c039d5
palette = 2=#1398aa
palette = 3=#3ccadd
palette = 4=#929ff7
palette = 5=#a57af0
palette = 6=#23b4c7
palette = 7=#e8e8ee
palette = 8=#07080d
palette = 9=#db75eb
palette = 10=#5ad2e2
palette = 11=#a4e6ef
palette = 12=#d0d5fb
palette = 13=#b792f6
palette = 14=#c6cdfb
palette = 15=#f6f6f9
background = #1c1d21
foreground = #9092a2
cursor-color = #6a878a
cursor-text = #1c1d21
selection-background = #36373e
selection-foreground = #9092a2

Base4Tone Classic P 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1c1d21rgb(28 29 33)hsl(228 8% 12%)oklch(23.1% 0.008 274.6)—
前景色foreground#9092a2rgb(144 146 162)hsl(233 9% 60%)oklch(66.4% 0.024 280.1)5.47 AA
光標cursor#6a878argb(106 135 138)hsl(186 13% 48%)oklch(60.2% 0.033 204.1)4.37 AA 大字體
光標文字cursorText#1c1d21rgb(28 29 33)hsl(228 8% 12%)oklch(23.1% 0.008 274.6)1.00 低於 AA
選取範圍selection#36373ergb(54 55 62)hsl(232 7% 23%)oklch(33.9% 0.012 279.3)1.42 低於 AA
選取文字selectionText#9092a2rgb(144 146 162)hsl(233 9% 60%)oklch(66.4% 0.024 280.1)5.47 AA
黑color0#1c1d21rgb(28 29 33)hsl(228 8% 12%)oklch(23.1% 0.008 274.6)1.00 低於 AA
紅color1#c039d5rgb(192 57 213)hsl(292 65% 53%)oklch(60.6% 0.242 321.9)3.84 AA 大字體
綠color2#1398aargb(19 152 170)hsl(187 80% 37%)oklch(62.4% 0.105 209.9)4.89 AA
黃color3#3ccaddrgb(60 202 221)hsl(187 70% 55%)oklch(77.3% 0.119 208.2)8.57 AAA
藍color4#929ff7rgb(146 159 247)hsl(232 86% 77%)oklch(72.8% 0.128 276.3)6.84 AA
洋紅color5#a57af0rgb(165 122 240)hsl(262 80% 71%)oklch(67.3% 0.172 298.5)5.33 AA
青color6#23b4c7rgb(35 180 199)hsl(187 70% 46%)oklch(70.7% 0.116 208.8)6.76 AA
白color7#e8e8eergb(232 232 238)hsl(240 15% 92%)oklch(93.3% 0.008 286.2)13.80 AAA
亮黑color8#07080drgb(7 8 13)hsl(230 30% 4%)oklch(13.6% 0.012 274.6)1.19 低於 AA
亮紅color9#db75ebrgb(219 117 235)hsl(292 75% 69%)oklch(72.0% 0.193 322.0)6.22 AA
亮綠color10#5ad2e2rgb(90 210 226)hsl(187 70% 62%)oklch(80.2% 0.109 207.3)9.42 AAA
亮黃color11#a4e6efrgb(164 230 239)hsl(187 70% 79%)oklch(88.4% 0.067 206.6)12.14 AAA
亮藍color12#d0d5fbrgb(208 213 251)hsl(233 84% 90%)oklch(88.1% 0.053 279.4)11.70 AAA
亮洋紅color13#b792f6rgb(183 146 246)hsl(262 85% 77%)oklch(73.3% 0.145 299.9)6.78 AA
亮青color14#c6cdfbrgb(198 205 251)hsl(232 87% 88%)oklch(85.8% 0.064 278.2)10.85 AAA
亮白color15#f6f6f9rgb(246 246 249)hsl(240 20% 97%)oklch(97.4% 0.004 286.3)15.61 AAA

關於 Base4Tone Classic P

Base4Tone Classic P 採用中性色調的深色背景(#1c1d21),預設前景色為 #9092a2。正文的 WCAG 對比度為 5.47:1(AA),12 種 ANSI 彩色槽位平均對比度 7.78:1,最低 3.84:1。

色板整體色彩飽和度適中,其中紅色為 #c039d5、綠色為 #1398aa、藍色為 #929ff7、洋紅為 #a57af0。該配色歸屬 Base4Tone 主題系列。

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

與 Base4Tone Classic P 相似的配色

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