跳到主要內容

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