- 背景色
- #191d21
- 前景色
- #ffffff
- 文字對比度
- 16.95:1AAA
- 強調色對比度
- 6.67:1最低 2.57
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status — Konsole
Hub Contrast 的設定檔
16 種格式,都從同一份色板產生
Hub Contrast
存到 ~/.config/ghostty/themes/Hub Contrast,再在 config 或 config.ghostty 裏寫 theme = Hub Contrast
# Theme: Hub Contrast (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/hub-contrast?format=ghostty
palette = 0=#242a2f
palette = 1=#ba0e2e
palette = 2=#e85362
palette = 3=#5392db
palette = 4=#5392db
palette = 5=#e85362
palette = 6=#9b78db
palette = 7=#ffffff
palette = 8=#3a434d
palette = 9=#e61f44
palette = 10=#f4adb4
palette = 11=#a7c7ed
palette = 12=#a7c7ed
palette = 13=#f4adb4
palette = 14=#d7c9f0
palette = 15=#ffffff
background = #191d21
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #ffffff
selection-background = #077cf9
selection-foreground = #ffffff
Hub Contrast 色板
關於 Hub Contrast
Hub Contrast 採用中性色調的深色背景(#191d21),預設前景色為 #ffffff。正文的 WCAG 對比度為 16.95:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.67:1,最低 2.57:1。
色板整體色彩飽和度適中,其中紅色為 #ba0e2e、綠色為 #e85362、藍色為 #5392db、洋紅為 #e85362。
支援一鍵匯出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 終端機設定檔,同時提供 VS Code 與 Zed 整合終端機、CSS 變數、Tailwind CSS 及 JSON 色板格式。
與 Hub Contrast 相似的配色
資料來源:Rainglow (MIT)