跳到主要內容

Ganbaru

Ganbaru 是一套深色終端機配色(粉彩、冷色),背景色 #151b24,文字色 #e1e5ec,對比度 13.7:1

取得設定檔
背景色
#151b24
前景色
#e1e5ec
文字對比度
13.69:1AAA
強調色對比度
9.36:1最低 5.34
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
❯

Ganbaru 的設定檔

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

Ganbaru

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

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

palette = 0=#151b24
palette = 1=#e8608c
palette = 2=#a2d37e
palette = 3=#ffb270
palette = 4=#73b3ff
palette = 5=#b8abec
palette = 6=#60cee0
palette = 7=#a8adb7
palette = 8=#555555
palette = 9=#ff6d7e
palette = 10=#b1e397
palette = 11=#e5de8c
palette = 12=#a2c8f5
palette = 13=#ecaee3
palette = 14=#a8d9e1
palette = 15=#d1d8e5
background = #151b24
foreground = #e1e5ec
cursor-color = #e1e5ec
cursor-text = #151b24
selection-background = #414750
selection-foreground = #e1e5ec

Ganbaru 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#151b24rgb(21 27 36)hsl(216 26% 11%)oklch(22.0% 0.020 258.3)—
前景色foreground#e1e5ecrgb(225 229 236)hsl(218 22% 90%)oklch(92.1% 0.010 261.8)13.69 AAA
光標cursor#e1e5ecrgb(225 229 236)hsl(218 22% 90%)oklch(92.1% 0.010 261.8)13.69 AAA
光標文字cursorText#151b24rgb(21 27 36)hsl(216 26% 11%)oklch(22.0% 0.020 258.3)1.00 低於 AA
選取範圍selection#414750rgb(65 71 80)hsl(216 10% 28%)oklch(39.6% 0.017 258.4)1.85 低於 AA
選取文字selectionText#e1e5ecrgb(225 229 236)hsl(218 22% 90%)oklch(92.1% 0.010 261.8)13.69 AAA
黑color0#151b24rgb(21 27 36)hsl(216 26% 11%)oklch(22.0% 0.020 258.3)1.00 低於 AA
紅color1#e8608crgb(232 96 140)hsl(341 75% 64%)oklch(67.2% 0.173 2.7)5.34 AA
綠color2#a2d37ergb(162 211 126)hsl(95 49% 66%)oklch(81.2% 0.124 133.0)10.01 AAA
黃color3#ffb270rgb(255 178 112)hsl(28 100% 72%)oklch(82.4% 0.122 60.5)9.76 AAA
藍color4#73b3ffrgb(115 179 255)hsl(213 100% 73%)oklch(75.5% 0.129 253.6)7.92 AAA
洋紅color5#b8abecrgb(184 171 236)hsl(252 63% 80%)oklch(77.5% 0.092 293.3)8.30 AAA
青color6#60cee0rgb(96 206 224)hsl(188 67% 63%)oklch(79.4% 0.103 209.7)9.39 AAA
白color7#a8adb7rgb(168 173 183)hsl(220 9% 69%)oklch(74.7% 0.015 264.5)7.68 AAA
亮黑color8#555555rgb(85 85 85)hsl(0 0% 33%)oklch(45.0% 0.000 0)2.32 低於 AA
亮紅color9#ff6d7ergb(255 109 126)hsl(353 100% 71%)oklch(71.8% 0.178 15.7)6.38 AA
亮綠color10#b1e397rgb(177 227 151)hsl(99 58% 74%)oklch(86.2% 0.114 135.3)11.78 AAA
亮黃color11#e5de8crgb(229 222 140)hsl(55 63% 72%)oklch(88.8% 0.103 104.1)12.49 AAA
亮藍color12#a2c8f5rgb(162 200 245)hsl(213 81% 80%)oklch(82.1% 0.076 253.0)9.98 AAA
亮洋紅color13#ecaee3rgb(236 174 227)hsl(309 62% 80%)oklch(82.5% 0.100 331.5)9.66 AAA
亮青color14#a8d9e1rgb(168 217 225)hsl(188 49% 77%)oklch(85.4% 0.052 208.6)11.27 AAA
亮白color15#d1d8e5rgb(209 216 229)hsl(219 28% 86%)oklch(88.1% 0.019 263.0)12.08 AAA

關於 Ganbaru

Ganbaru 採用冷色調的深色背景(#151b24),預設前景色為 #e1e5ec。正文的 WCAG 對比度為 13.69:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.36:1,最低 5.34:1。

色板整體色彩飽和度適中,其中紅色為 #e8608c、綠色為 #a2d37e、藍色為 #73b3ff、洋紅為 #b8abec。

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

與 Ganbaru 相似的配色

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