- 背景色
- #000000
- 前景色
- #aaaaaa
- 文字對比度
- 9.04:1AAA
- 強調色對比度
- 8.09:1最低 1.58
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status — Konsole
CGA 的設定檔
16 種格式,都從同一份色板產生
# Theme: CGA (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/cga?format=ghostty
palette = 0=#000000
palette = 1=#aa0000
palette = 2=#00aa00
palette = 3=#aa5500
palette = 4=#0000aa
palette = 5=#aa00aa
palette = 6=#00aaaa
palette = 7=#aaaaaa
palette = 8=#555555
palette = 9=#ff5555
palette = 10=#55ff55
palette = 11=#ffff55
palette = 12=#5555ff
palette = 13=#ff55ff
palette = 14=#55ffff
palette = 15=#ffffff
background = #000000
foreground = #aaaaaa
cursor-color = #b8b8b8
cursor-text = #ffffff
selection-background = #c1deff
selection-foreground = #000000
CGA 色板
關於 CGA
CGA 採用中性色調的深色背景(#000000),預設前景色為 #aaaaaa。正文的 WCAG 對比度為 9.04:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.09:1,最低 1.58:1。
色板整體色彩飽和度較高,其中紅色為 #aa0000、綠色為 #00aa00、藍色為 #0000aa、洋紅為 #aa00aa。
支援一鍵匯出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 終端機設定檔,同時提供 VS Code 與 Zed 整合終端機、CSS 變數、Tailwind CSS 及 JSON 色板格式。
該色板在上游儲存庫中亦曾以 Linux 的名稱發佈
與 CGA 相似的配色
資料來源:iTerm2 Color Schemes (MIT)