跳到主要內容

Treehouse

Treehouse 是一套深色終端機配色(柔和),背景色 #191919,文字色 #786b53,對比度 3.4:1

取得設定檔
背景色
#191919
前景色
#786b53
文字對比度
3.37:1AA 大字體
強調色對比度
5.98:1最低 2.44
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
❯

Treehouse 的設定檔

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

Treehouse

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

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

palette = 0=#321300
palette = 1=#b2270e
palette = 2=#44a900
palette = 3=#aa820c
palette = 4=#58859a
palette = 5=#97363d
palette = 6=#b25a1e
palette = 7=#786b53
palette = 8=#433626
palette = 9=#ed5d20
palette = 10=#55f238
palette = 11=#f2b732
palette = 12=#85cfed
palette = 13=#e14c5a
palette = 14=#f07d14
palette = 15=#ffc800
background = #191919
foreground = #786b53
cursor-color = #fac814
cursor-text = #191919
selection-background = #786b53
selection-foreground = #fac800

Treehouse 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#191919rgb(25 25 25)hsl(0 0% 10%)oklch(21.3% 0.000 0)—
前景色foreground#786b53rgb(120 107 83)hsl(39 18% 40%)oklch(53.3% 0.039 82.7)3.37 AA 大字體
光標cursor#fac814rgb(250 200 20)hsl(47 96% 53%)oklch(85.3% 0.171 90.0)11.17 AAA
光標文字cursorText#191919rgb(25 25 25)hsl(0 0% 10%)oklch(21.3% 0.000 0)1.00 低於 AA
選取範圍selection#786b53rgb(120 107 83)hsl(39 18% 40%)oklch(53.3% 0.039 82.7)3.37 AA 大字體
選取文字selectionText#fac800rgb(250 200 0)hsl(48 100% 49%)oklch(85.2% 0.174 90.4)11.16 AAA
黑color0#321300rgb(50 19 0)hsl(23 100% 10%)oklch(23.1% 0.060 51.6)1.03 低於 AA
紅color1#b2270ergb(178 39 14)hsl(9 85% 38%)oklch(49.9% 0.178 32.2)2.67 低於 AA
綠color2#44a900rgb(68 169 0)hsl(96 100% 33%)oklch(64.9% 0.201 138.1)5.79 AA
黃color3#aa820crgb(170 130 12)hsl(45 87% 36%)oklch(62.8% 0.126 86.3)4.95 AA
藍color4#58859argb(88 133 154)hsl(199 27% 47%)oklch(59.2% 0.059 229.0)4.38 AA 大字體
洋紅color5#97363drgb(151 54 61)hsl(356 47% 40%)oklch(47.3% 0.130 19.4)2.44 低於 AA
青color6#b25a1ergb(178 90 30)hsl(24 71% 41%)oklch(56.4% 0.134 50.1)3.66 AA 大字體
白color7#786b53rgb(120 107 83)hsl(39 18% 40%)oklch(53.3% 0.039 82.7)3.37 AA 大字體
亮黑color8#433626rgb(67 54 38)hsl(33 28% 21%)oklch(34.2% 0.032 72.2)1.50 低於 AA
亮紅color9#ed5d20rgb(237 93 32)hsl(18 85% 53%)oklch(65.8% 0.191 40.2)5.18 AA
亮綠color10#55f238rgb(85 242 56)hsl(111 88% 58%)oklch(84.6% 0.254 141.0)11.84 AAA
亮黃color11#f2b732rgb(242 183 50)hsl(42 88% 57%)oklch(81.3% 0.154 82.6)9.71 AAA
亮藍color12#85cfedrgb(133 207 237)hsl(197 74% 73%)oklch(81.7% 0.085 225.7)10.17 AAA
亮洋紅color13#e14c5argb(225 76 90)hsl(354 71% 59%)oklch(62.6% 0.184 18.9)4.51 AA
亮青color14#f07d14rgb(240 125 20)hsl(29 88% 51%)oklch(70.7% 0.172 54.0)6.40 AA
亮白color15#ffc800rgb(255 200 0)hsl(47 100% 50%)oklch(85.7% 0.175 88.5)11.31 AAA

關於 Treehouse

Treehouse 採用中性色調的深色背景(#191919),預設前景色為 #786b53。正文的 WCAG 對比度為 3.37:1(AA 大字體),12 種 ANSI 彩色槽位平均對比度 5.98:1,最低 2.44:1。

色板整體色彩飽和度適中,其中紅色為 #b2270e、綠色為 #44a900、藍色為 #58859a、洋紅為 #97363d。

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

與 Treehouse 相似的配色

資料來源:iTerm2 Color Schemes (MIT)