跳到正文

branch

branch 是一套深色终端配色(暖色),背景色 #32221a,文字色 #cfc1a9,对比度 8.6:1

获取配置
背景色
#32221a
前景色
#cfc1a9
文字对比度
8.59:1AAA
强调色对比度
4.79:1最低 3.38
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
❯

branch 的配置文件

16 种格式,都从同一份色板生成

branch

存到 ~/.config/ghostty/themes/branch,再在 config 或 config.ghostty 里写 theme = branch

更多 Ghostty 配色
原始文件
# Theme: branch (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/branch?format=ghostty

palette = 0=#35241c
palette = 1=#c2562d
palette = 2=#96a65e
palette = 3=#d29b5a
palette = 4=#3b8e8c
palette = 5=#c47e5b
palette = 6=#639a90
palette = 7=#cfc1a9
palette = 8=#564a45
palette = 9=#c2562d
palette = 10=#96a65e
palette = 11=#d29b5a
palette = 12=#3b8e8c
palette = 13=#c47e5b
palette = 14=#639a90
palette = 15=#cfc1a9
background = #32221a
foreground = #cfc1a9
cursor-color = #cfc1a9
cursor-text = #32221a
selection-background = #cfc1a9
selection-foreground = #32221a

branch 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#32221argb(50 34 26)hsl(20 32% 15%)oklch(26.9% 0.029 47.6)—
前景色foreground#cfc1a9rgb(207 193 169)hsl(38 28% 74%)oklch(81.6% 0.036 81.2)8.59 AAA
光标cursor#cfc1a9rgb(207 193 169)hsl(38 28% 74%)oklch(81.6% 0.036 81.2)8.59 AAA
光标文字cursorText#32221argb(50 34 26)hsl(20 32% 15%)oklch(26.9% 0.029 47.6)1.00 低于 AA
选区selection#cfc1a9rgb(207 193 169)hsl(38 28% 74%)oklch(81.6% 0.036 81.2)8.59 AAA
选区文字selectionText#32221argb(50 34 26)hsl(20 32% 15%)oklch(26.9% 0.029 47.6)1.00 低于 AA
黑color0#35241crgb(53 36 28)hsl(19 31% 16%)oklch(27.9% 0.030 46.2)1.03 低于 AA
红color1#c2562drgb(194 86 45)hsl(17 62% 47%)oklch(58.3% 0.149 40.2)3.38 AA 大字号
绿color2#96a65ergb(150 166 94)hsl(73 29% 51%)oklch(69.6% 0.098 119.3)5.74 AA
黄color3#d29b5argb(210 155 90)hsl(33 57% 59%)oklch(72.9% 0.105 69.5)6.22 AA
蓝color4#3b8e8crgb(59 142 140)hsl(179 41% 39%)oklch(59.6% 0.080 193.0)3.94 AA 大字号
品红color5#c47e5brgb(196 126 91)hsl(20 47% 56%)oklch(65.8% 0.100 47.0)4.70 AA
青color6#639a90rgb(99 154 144)hsl(169 22% 50%)oklch(64.5% 0.060 181.6)4.75 AA
白color7#cfc1a9rgb(207 193 169)hsl(38 28% 74%)oklch(81.6% 0.036 81.2)8.59 AAA
亮黑color8#564a45rgb(86 74 69)hsl(18 11% 30%)oklch(42.0% 0.018 44.0)1.78 低于 AA
亮红color9#c2562drgb(194 86 45)hsl(17 62% 47%)oklch(58.3% 0.149 40.2)3.38 AA 大字号
亮绿color10#96a65ergb(150 166 94)hsl(73 29% 51%)oklch(69.6% 0.098 119.3)5.74 AA
亮黄color11#d29b5argb(210 155 90)hsl(33 57% 59%)oklch(72.9% 0.105 69.5)6.22 AA
亮蓝color12#3b8e8crgb(59 142 140)hsl(179 41% 39%)oklch(59.6% 0.080 193.0)3.94 AA 大字号
亮品红color13#c47e5brgb(196 126 91)hsl(20 47% 56%)oklch(65.8% 0.100 47.0)4.70 AA
亮青color14#639a90rgb(99 154 144)hsl(169 22% 50%)oklch(64.5% 0.060 181.6)4.75 AA
亮白color15#cfc1a9rgb(207 193 169)hsl(38 28% 74%)oklch(81.6% 0.036 81.2)8.59 AAA

关于 branch

branch 采用暖色调的深色背景(#32221a),默认前景色为 #cfc1a9。正文的 WCAG 对比度为 8.59:1(AAA),12 种 ANSI 彩色槽位平均对比度 4.79:1,最低 3.38:1。

色板整体色彩饱和度适中,其中红色为 #c2562d、绿色为 #96a65e、蓝色为 #3b8e8c、品红为 #c47e5b。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 branch 相似的配色

数据来源:iTerm2 Color Schemes (MIT)