跳到主要內容

Base4Tone Modern N

Base4Tone Modern N 是一套深色終端機配色(柔和),背景色 #1a2023,文字色 #8a9da8,對比度 5.9:1

取得設定檔
背景色
#1a2023
前景色
#8a9da8
文字對比度
5.86:1AA
強調色對比度
8.22:1最低 3.66
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 N 的設定檔

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

Base4Tone Modern N

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

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

palette = 0=#1a2023
palette = 1=#d53975
palette = 2=#a48f04
palette = 3=#dcc218
palette = 4=#47b5f5
palette = 5=#8493f6
palette = 6=#c1aa15
palette = 7=#e8ebee
palette = 8=#070b0d
palette = 9=#eb75a2
palette = 10=#e6ca1a
palette = 11=#f2e58c
palette = 12=#bbe4fb
palette = 13=#a0acf8
palette = 14=#b1e0fb
palette = 15=#f6f8f9
background = #1a2023
foreground = #8a9da8
cursor-color = #85826f
cursor-text = #1a2023
selection-background = #333c41
selection-foreground = #8a9da8

Base4Tone Modern N 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1a2023rgb(26 32 35)hsl(200 15% 12%)oklch(23.9% 0.011 229.4)—
前景色foreground#8a9da8rgb(138 157 168)hsl(202 15% 60%)oklch(68.5% 0.027 233.2)5.86 AA
游標cursor#85826frgb(133 130 111)hsl(52 9% 48%)oklch(60.4% 0.028 99.8)4.25 AA 大字級
游標文字cursorText#1a2023rgb(26 32 35)hsl(200 15% 12%)oklch(23.9% 0.011 229.4)1.00 低於 AA
選取範圍selection#333c41rgb(51 60 65)hsl(201 12% 23%)oklch(35.0% 0.015 232.1)1.46 低於 AA
選取文字selectionText#8a9da8rgb(138 157 168)hsl(202 15% 60%)oklch(68.5% 0.027 233.2)5.86 AA
黑color0#1a2023rgb(26 32 35)hsl(200 15% 12%)oklch(23.9% 0.011 229.4)1.00 低於 AA
紅color1#d53975rgb(213 57 117)hsl(337 65% 53%)oklch(59.4% 0.197 2.1)3.66 AA 大字級
綠color2#a48f04rgb(164 143 4)hsl(52 95% 33%)oklch(64.9% 0.134 98.7)5.11 AA
黃color3#dcc218rgb(220 194 24)hsl(52 80% 48%)oklch(81.2% 0.164 99.2)9.24 AAA
藍color4#47b5f5rgb(71 181 245)hsl(202 90% 62%)oklch(73.8% 0.135 238.3)7.21 AAA
洋紅color5#8493f6rgb(132 147 246)hsl(232 86% 74%)oklch(69.5% 0.146 275.4)5.87 AA
青color6#c1aa15rgb(193 170 21)hsl(52 80% 42%)oklch(73.6% 0.149 99.2)7.08 AAA
白color7#e8ebeergb(232 235 238)hsl(210 15% 92%)oklch(93.9% 0.005 247.9)13.77 AAA
亮黑color8#070b0drgb(7 11 13)hsl(200 30% 4%)oklch(14.6% 0.008 227.7)1.20 低於 AA
亮紅color9#eb75a2rgb(235 117 162)hsl(337 75% 69%)oklch(71.1% 0.153 357.6)5.96 AA
亮綠color10#e6ca1argb(230 202 26)hsl(52 80% 50%)oklch(83.7% 0.169 98.8)10.06 AAA
亮黃color11#f2e58crgb(242 229 140)hsl(52 80% 75%)oklch(91.3% 0.111 101.0)12.83 AAA
亮藍color12#bbe4fbrgb(187 228 251)hsl(202 89% 86%)oklch(89.7% 0.053 232.7)12.24 AAA
亮洋紅color13#a0acf8rgb(160 172 248)hsl(232 86% 80%)oklch(76.4% 0.110 276.6)7.65 AAA
亮青color14#b1e0fbrgb(177 224 251)hsl(202 90% 84%)oklch(88.3% 0.061 233.6)11.71 AAA
亮白color15#f6f8f9rgb(246 248 249)hsl(200 20% 97%)oklch(97.8% 0.003 228.8)15.46 AAA

關於 Base4Tone Modern N

Base4Tone Modern N 採用中性色調的深色背景(#1a2023),預設前景色為 #8a9da8。內文的 WCAG 對比度為 5.86:1(AA),12 種 ANSI 彩色槽位平均對比度 8.22:1,最低 3.66:1。

色票整體色彩彩度適中,其中紅色為 #d53975、綠色為 #a48f04、藍色為 #47b5f5、洋紅為 #8493f6。此配色歸屬 Base4Tone 主題系列。

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

與 Base4Tone Modern N 相似的配色

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