跳到主要內容

IBM 5153 CGA (Black)

IBM 5153 CGA (Black) 是一套深色終端機配色(純黑、鮮豔),背景色 #000000,文字色 #c4c4c4,對比度 12.0:1

取得設定檔
背景色
#000000
前景色
#c4c4c4
文字對比度
12.04:1AAA
強調色對比度
7.91:1最低 1.80
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
❯

IBM 5153 CGA (Black) 的設定檔

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

IBM 5153 CGA (Black)

存到 ~/.config/ghostty/themes/IBM 5153 CGA (Black),再在 config 或 config.ghostty 裡寫 theme = IBM 5153 CGA (Black)

更多 Ghostty 配色
原始檔
# Theme: IBM 5153 CGA (Black) (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/ibm-5153-cga-black?format=ghostty

palette = 0=#000000
palette = 1=#c40000
palette = 2=#00c400
palette = 3=#c47e00
palette = 4=#0000c4
palette = 5=#c400c4
palette = 6=#00c4c4
palette = 7=#c4c4c4
palette = 8=#4e4e4e
palette = 9=#dc4e4e
palette = 10=#4edc4e
palette = 11=#f3f34e
palette = 12=#4e4edc
palette = 13=#f34ef3
palette = 14=#4ef3f3
palette = 15=#ffffff
background = #000000
foreground = #c4c4c4
cursor-color = #c4c4c4
cursor-text = #000000
selection-background = #c4c4c4
selection-foreground = #000000

IBM 5153 CGA (Black) 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#c4c4c4rgb(196 196 196)hsl(0 0% 77%)oklch(82.0% 0.000 0)12.04 AAA
游標cursor#c4c4c4rgb(196 196 196)hsl(0 0% 77%)oklch(82.0% 0.000 0)12.04 AAA
游標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
選取範圍selection#c4c4c4rgb(196 196 196)hsl(0 0% 77%)oklch(82.0% 0.000 0)12.04 AAA
選取文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
紅color1#c40000rgb(196 0 0)hsl(0 100% 38%)oklch(51.5% 0.211 29.2)3.35 AA 大字級
綠color2#00c400rgb(0 196 0)hsl(120 100% 38%)oklch(71.1% 0.242 142.5)8.90 AAA
黃color3#c47e00rgb(196 126 0)hsl(39 100% 38%)oklch(65.1% 0.140 70.8)6.33 AA
藍color4#0000c4rgb(0 0 196)hsl(240 100% 38%)oklch(37.1% 0.257 264.1)1.80 低於 AA
洋紅color5#c400c4rgb(196 0 196)hsl(300 100% 38%)oklch(57.6% 0.265 328.4)4.14 AA 大字級
青color6#00c4c4rgb(0 196 196)hsl(180 100% 38%)oklch(74.3% 0.127 194.8)9.69 AAA
白color7#c4c4c4rgb(196 196 196)hsl(0 0% 77%)oklch(82.0% 0.000 0)12.04 AAA
亮黑color8#4e4e4ergb(78 78 78)hsl(0 0% 31%)oklch(42.4% 0.000 0)2.52 低於 AA
亮紅color9#dc4e4ergb(220 78 78)hsl(0 67% 58%)oklch(61.8% 0.178 23.9)5.24 AA
亮綠color10#4edc4ergb(78 220 78)hsl(120 67% 58%)oklch(79.0% 0.220 143.1)11.67 AAA
亮黃color11#f3f34ergb(243 243 78)hsl(60 87% 63%)oklch(93.6% 0.178 109.4)17.74 AAA
亮藍color12#4e4edcrgb(78 78 220)hsl(240 67% 58%)oklch(51.4% 0.210 276.1)3.45 AA 大字級
亮洋紅color13#f34ef3rgb(243 78 243)hsl(300 87% 63%)oklch(71.1% 0.265 327.9)7.19 AAA
亮青color14#4ef3f3rgb(78 243 243)hsl(180 87% 63%)oklch(88.2% 0.133 195.0)15.44 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA

關於 IBM 5153 CGA (Black)

IBM 5153 CGA (Black) 採用中性色調的深色背景(#000000),預設前景色為 #c4c4c4。內文的 WCAG 對比度為 12.04:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.91:1,最低 1.80:1。

色票整體色彩彩度較高,其中紅色為 #c40000、綠色為 #00c400、藍色為 #0000c4、洋紅為 #c400c4。

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

與 IBM 5153 CGA (Black) 相似的配色

資料來源:iTerm2 Color Schemes (MIT)