跳到主要內容

Base2Tone Forest

Base2Tone Forest 是一套深色終端機配色(柔和、單色),背景色 #2a2d2a,文字色 #a1b5a1,對比度 6.4:1

取得設定檔
背景色
#2a2d2a
前景色
#a1b5a1
文字對比度
6.40:1AA
強調色對比度
6.10:1最低 1.21
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
❯

Base2Tone Forest 的設定檔

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

Base2Tone Forest

存到 ~/.config/ghostty/themes/Base2Tone Forest,再在 config 或 config.ghostty 裡寫 theme = Base2Tone Forest

更多 Ghostty 配色
原始檔
# Theme: Base2Tone Forest (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/base2tone-forest?format=ghostty

palette = 0=#2a2d2a
palette = 1=#5c705c
palette = 2=#bfd454
palette = 3=#e5fb79
palette = 4=#687d68
palette = 5=#bfd454
palette = 6=#8fae8f
palette = 7=#a1b5a1
palette = 8=#535f53
palette = 9=#cbe25a
palette = 10=#353b35
palette = 11=#485148
palette = 12=#5e6e5e
palette = 13=#c8e4c8
palette = 14=#b1c44f
palette = 15=#f0fff0
background = #2a2d2a
foreground = #a1b5a1
cursor-color = #818b4b
cursor-text = #2a2d2a
selection-background = #454c45
selection-foreground = #a1b5a1

Base2Tone Forest 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#2a2d2argb(42 45 42)hsl(120 3% 17%)oklch(29.3% 0.007 145.4)—
前景色foreground#a1b5a1rgb(161 181 161)hsl(120 12% 67%)oklch(75.2% 0.036 145.2)6.40 AA
游標cursor#818b4brgb(129 139 75)hsl(69 30% 42%)oklch(61.3% 0.088 116.4)3.80 AA 大字級
游標文字cursorText#2a2d2argb(42 45 42)hsl(120 3% 17%)oklch(29.3% 0.007 145.4)1.00 低於 AA
選取範圍selection#454c45rgb(69 76 69)hsl(120 5% 28%)oklch(40.8% 0.015 145.3)1.57 低於 AA
選取文字selectionText#a1b5a1rgb(161 181 161)hsl(120 12% 67%)oklch(75.2% 0.036 145.2)6.40 AA
黑color0#2a2d2argb(42 45 42)hsl(120 3% 17%)oklch(29.3% 0.007 145.4)1.00 低於 AA
紅color1#5c705crgb(92 112 92)hsl(120 10% 40%)oklch(52.3% 0.039 145.0)2.61 低於 AA
綠color2#bfd454rgb(191 212 84)hsl(70 60% 58%)oklch(82.9% 0.154 117.8)8.47 AAA
黃color3#e5fb79rgb(229 251 121)hsl(70 94% 73%)oklch(94.6% 0.157 117.5)12.21 AAA
藍color4#687d68rgb(104 125 104)hsl(120 9% 45%)oklch(56.7% 0.040 145.0)3.13 AA 大字級
洋紅color5#bfd454rgb(191 212 84)hsl(70 60% 58%)oklch(82.9% 0.154 117.8)8.47 AAA
青color6#8fae8frgb(143 174 143)hsl(120 16% 62%)oklch(71.9% 0.056 145.0)5.72 AA
白color7#a1b5a1rgb(161 181 161)hsl(120 12% 67%)oklch(75.2% 0.036 145.2)6.40 AA
亮黑color8#535f53rgb(83 95 83)hsl(120 7% 35%)oklch(47.1% 0.024 145.2)2.08 低於 AA
亮紅color9#cbe25argb(203 226 90)hsl(70 70% 62%)oklch(87.0% 0.162 118.0)9.66 AAA
亮綠color10#353b35rgb(53 59 53)hsl(120 5% 22%)oklch(34.5% 0.013 145.3)1.21 低於 AA
亮黃color11#485148rgb(72 81 72)hsl(120 6% 30%)oklch(42.4% 0.019 145.2)1.69 低於 AA
亮藍color12#5e6e5ergb(94 110 94)hsl(120 8% 40%)oklch(52.0% 0.031 145.1)2.57 低於 AA
亮洋紅color13#c8e4c8rgb(200 228 200)hsl(120 34% 84%)oklch(89.1% 0.048 145.2)10.21 AAA
亮青color14#b1c44frgb(177 196 79)hsl(70 50% 54%)oklch(78.3% 0.143 117.6)7.22 AAA
亮白color15#f0fff0rgb(240 255 240)hsl(120 100% 97%)oklch(98.5% 0.025 145.4)13.45 AAA

關於 Base2Tone Forest

Base2Tone Forest 採用中性色調的深色背景(#2a2d2a),預設前景色為 #a1b5a1。內文的 WCAG 對比度為 6.40:1(AA),12 種 ANSI 彩色槽位平均對比度 6.10:1,最低 1.21:1。

色票整體色彩彩度偏低,其中紅色為 #5c705c、綠色為 #bfd454、藍色為 #687d68、洋紅為 #bfd454。此配色歸屬 Base2Tone 主題系列。

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

與 Base2Tone Forest 相似的配色

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