跳到正文

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/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)