跳到主要內容

breath2

breath2 是一套深色終端機配色(柔和、冷色),背景色 #1e2229,文字色 #17a88b,對比度 5.3:1

取得設定檔
背景色
#1e2229
前景色
#17a88b
文字對比度
5.33:1AA
強調色對比度
3.85:1最低 1.74
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
❯

breath2 的設定檔

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

breath2

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

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

palette = 0=#0d0f11
palette = 1=#c0392b
palette = 2=#55a649
palette = 3=#fdbc4b
palette = 4=#3daee9
palette = 5=#8e44ad
palette = 6=#16a085
palette = 7=#ffffff
palette = 8=#2e3439
palette = 9=#783228
palette = 10=#32642c
palette = 11=#b65619
palette = 12=#1b668f
palette = 13=#614a73
palette = 14=#186c60
palette = 15=#63686d
background = #1e2229
foreground = #17a88b
cursor-color = #17a88b
cursor-text = #1e2229
selection-background = #264040
selection-foreground = #17a88b

breath2 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1e2229rgb(30 34 41)hsl(218 15% 14%)oklch(25.1% 0.015 261.7)—
前景色foreground#17a88brgb(23 168 139)hsl(168 76% 37%)oklch(65.5% 0.120 174.1)5.33 AA
光標cursor#17a88brgb(23 168 139)hsl(168 76% 37%)oklch(65.5% 0.120 174.1)5.33 AA
光標文字cursorText#1e2229rgb(30 34 41)hsl(218 15% 14%)oklch(25.1% 0.015 261.7)1.00 低於 AA
選取範圍selection#264040rgb(38 64 64)hsl(180 25% 20%)oklch(35.1% 0.032 195.8)1.44 低於 AA
選取文字selectionText#17a88brgb(23 168 139)hsl(168 76% 37%)oklch(65.5% 0.120 174.1)5.33 AA
黑color0#0d0f11rgb(13 15 17)hsl(210 13% 6%)oklch(16.7% 0.005 248.1)1.20 低於 AA
紅color1#c0392brgb(192 57 43)hsl(6 63% 46%)oklch(54.3% 0.174 29.7)2.93 低於 AA
綠color2#55a649rgb(85 166 73)hsl(112 39% 47%)oklch(65.2% 0.152 141.2)5.27 AA
黃color3#fdbc4brgb(253 188 75)hsl(38 98% 64%)oklch(83.6% 0.146 77.9)9.48 AAA
藍color4#3daee9rgb(61 174 233)hsl(201 80% 58%)oklch(71.3% 0.131 236.0)6.41 AA
洋紅color5#8e44adrgb(142 68 173)hsl(282 44% 47%)oklch(52.6% 0.170 314.7)2.72 低於 AA
青color6#16a085rgb(22 160 133)hsl(168 76% 36%)oklch(63.2% 0.116 174.5)4.86 AA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.96 AAA
亮黑color8#2e3439rgb(46 52 57)hsl(207 11% 20%)oklch(32.1% 0.012 243.2)1.27 低於 AA
亮紅color9#783228rgb(120 50 40)hsl(8 50% 31%)oklch(41.2% 0.100 30.2)1.74 低於 AA
亮綠color10#32642crgb(50 100 44)hsl(114 39% 28%)oklch(45.4% 0.102 141.6)2.28 低於 AA
亮黃color11#b65619rgb(182 86 25)hsl(23 76% 41%)oklch(56.4% 0.142 47.8)3.29 AA 大字體
亮藍color12#1b668frgb(27 102 143)hsl(201 68% 33%)oklch(48.6% 0.096 238.1)2.54 低於 AA
亮洋紅color13#614a73rgb(97 74 115)hsl(274 22% 37%)oklch(45.0% 0.071 309.4)2.08 低於 AA
亮青color14#186c60rgb(24 108 96)hsl(171 64% 26%)oklch(48.0% 0.079 180.9)2.55 低於 AA
亮白color15#63686drgb(99 104 109)hsl(210 5% 41%)oklch(51.5% 0.010 248.0)2.84 低於 AA

關於 breath2

breath2 採用冷色調的深色背景(#1e2229),預設前景色為 #17a88b。正文的 WCAG 對比度為 5.33:1(AA),12 種 ANSI 彩色槽位平均對比度 3.85:1,最低 1.74:1。

色板整體色彩飽和度適中,其中紅色為 #c0392b、綠色為 #55a649、藍色為 #3daee9、洋紅為 #8e44ad。

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

與 breath2 相似的配色

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