跳到主要內容

Base4Tone Classic O

Base4Tone Classic O 是一套深色終端機配色(柔和、冷色),背景色 #1a1d23,文字色 #8995a9,對比度 5.6:1

取得設定檔
背景色
#1a1d23
前景色
#8995a9
文字對比度
5.58:1AA
強調色對比度
8.03:1最低 3.63
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 O 的設定檔

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

Base4Tone Classic O

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

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

palette = 0=#1a1d23
palette = 1=#a24ad9
palette = 2=#0d9c89
palette = 3=#1ed2ba
palette = 4=#74a8fb
palette = 5=#9488f2
palette = 6=#1bbba6
palette = 7=#e7eaee
palette = 8=#07090d
palette = 9=#c27eed
palette = 10=#2fdac3
palette = 11=#93ece0
palette = 12=#c7dcff
palette = 13=#aba1f7
palette = 14=#c2d9ff
palette = 15=#f6f7f9
background = #1a1d23
foreground = #8995a9
cursor-color = #6d8884
cursor-text = #1a1d23
selection-background = #333841
selection-foreground = #8995a9

Base4Tone Classic O 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1a1d23rgb(26 29 35)hsl(220 15% 12%)oklch(23.0% 0.012 264.3)—
前景色foreground#8995a9rgb(137 149 169)hsl(217 16% 60%)oklch(66.7% 0.033 260.7)5.58 AA
光標cursor#6d8884rgb(109 136 132)hsl(171 11% 48%)oklch(60.5% 0.031 185.4)4.43 AA 大字體
光標文字cursorText#1a1d23rgb(26 29 35)hsl(220 15% 12%)oklch(23.0% 0.012 264.3)1.00 低於 AA
選取範圍selection#333841rgb(51 56 65)hsl(219 12% 23%)oklch(34.0% 0.017 262.3)1.43 低於 AA
選取文字selectionText#8995a9rgb(137 149 169)hsl(217 16% 60%)oklch(66.7% 0.033 260.7)5.58 AA
黑color0#1a1d23rgb(26 29 35)hsl(220 15% 12%)oklch(23.0% 0.012 264.3)1.00 低於 AA
紅color1#a24ad9rgb(162 74 217)hsl(277 65% 57%)oklch(58.6% 0.214 309.6)3.63 AA 大字體
綠color2#0d9c89rgb(13 156 137)hsl(172 85% 33%)oklch(62.2% 0.111 179.9)4.93 AA
黃color3#1ed2bargb(30 210 186)hsl(172 75% 47%)oklch(77.6% 0.136 180.4)8.83 AAA
藍color4#74a8fbrgb(116 168 251)hsl(217 94% 72%)oklch(73.0% 0.133 259.4)7.02 AAA
洋紅color5#9488f2rgb(148 136 242)hsl(247 80% 74%)oklch(68.3% 0.153 286.8)5.68 AA
青color6#1bbba6rgb(27 187 166)hsl(172 75% 42%)oklch(71.2% 0.124 180.7)7.00 AA
白color7#e7eaeergb(231 234 238)hsl(214 17% 92%)oklch(93.6% 0.006 255.5)13.99 AAA
亮黑color8#07090drgb(7 9 13)hsl(220 30% 4%)oklch(13.9% 0.010 261.8)1.18 低於 AA
亮紅color9#c27eedrgb(194 126 237)hsl(277 76% 71%)oklch(70.6% 0.170 311.0)6.03 AA
亮綠color10#2fdac3rgb(47 218 195)hsl(172 70% 52%)oklch(80.1% 0.136 181.1)9.60 AAA
亮黃color11#93ece0rgb(147 236 224)hsl(172 70% 75%)oklch(88.4% 0.088 184.9)12.31 AAA
亮藍color12#c7dcffrgb(199 220 255)hsl(218 100% 89%)oklch(89.0% 0.053 260.6)12.15 AAA
亮洋紅color13#aba1f7rgb(171 161 247)hsl(247 84% 80%)oklch(75.1% 0.122 288.4)7.37 AAA
亮青color14#c2d9ffrgb(194 217 255)hsl(217 100% 88%)oklch(88.1% 0.058 260.4)11.79 AAA
亮白color15#f6f7f9rgb(246 247 249)hsl(220 20% 97%)oklch(97.6% 0.003 264.5)15.75 AAA

關於 Base4Tone Classic O

Base4Tone Classic O 採用冷色調的深色背景(#1a1d23),預設前景色為 #8995a9。正文的 WCAG 對比度為 5.58:1(AA),12 種 ANSI 彩色槽位平均對比度 8.03:1,最低 3.63:1。

色板整體色彩飽和度適中,其中紅色為 #a24ad9、綠色為 #0d9c89、藍色為 #74a8fb、洋紅為 #9488f2。該配色歸屬 Base4Tone 主題系列。

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

與 Base4Tone Classic O 相似的配色

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