跳到正文

Ibm3270

Ibm3270 是一套深色终端配色(纯黑、高对比度),背景色 #000000,文字色 #fdfdfd,对比度 20.6:1

获取配置
背景色
#000000
前景色
#fdfdfd
文字对比度
20.65:1AAA
强调色对比度
11.13:1最低 4.85
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
❯

Ibm3270 的配置文件

16 种格式,都从同一份色板生成

Ibm3270

存到 ~/.config/ghostty/themes/Ibm3270,再在 config 或 config.ghostty 里写 theme = Ibm3270

更多 Ghostty 配色
原始文件
# Theme: Ibm3270 (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/ibm3270?format=ghostty

palette = 0=#222222
palette = 1=#f01818
palette = 2=#24d830
palette = 3=#f0d824
palette = 4=#7890f0
palette = 5=#f078d8
palette = 6=#54e4e4
palette = 7=#a5a5a5
palette = 8=#888888
palette = 9=#ef8383
palette = 10=#7ed684
palette = 11=#efe28b
palette = 12=#b3bfef
palette = 13=#efb3e3
palette = 14=#9ce2e2
palette = 15=#ffffff
background = #000000
foreground = #fdfdfd
cursor-color = #fdfdfd
cursor-text = #000000
selection-background = #212121
selection-foreground = #fdfdfd

Ibm3270 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#fdfdfdrgb(253 253 253)hsl(0 0% 99%)oklch(99.4% 0.000 0)20.65 AAA
光标cursor#fdfdfdrgb(253 253 253)hsl(0 0% 99%)oklch(99.4% 0.000 0)20.65 AAA
光标文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低于 AA
选区selection#212121rgb(33 33 33)hsl(0 0% 13%)oklch(24.8% 0.000 0)1.30 低于 AA
选区文字selectionText#fdfdfdrgb(253 253 253)hsl(0 0% 99%)oklch(99.4% 0.000 0)20.65 AAA
黑color0#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)1.32 低于 AA
红color1#f01818rgb(240 24 24)hsl(0 88% 52%)oklch(60.6% 0.240 28.4)4.85 AA
绿color2#24d830rgb(36 216 48)hsl(124 71% 49%)oklch(76.9% 0.244 143.3)10.94 AAA
黄color3#f0d824rgb(240 216 36)hsl(53 87% 54%)oklch(87.6% 0.176 100.8)14.55 AAA
蓝color4#7890f0rgb(120 144 240)hsl(228 80% 71%)oklch(67.7% 0.144 271.5)7.05 AAA
品红color5#f078d8rgb(240 120 216)hsl(312 80% 71%)oklch(74.1% 0.185 335.4)8.38 AAA
青color6#54e4e4rgb(84 228 228)hsl(180 73% 61%)oklch(84.3% 0.121 195.1)13.59 AAA
白color7#a5a5a5rgb(165 165 165)hsl(0 0% 65%)oklch(72.2% 0.000 0)8.53 AAA
亮黑color8#888888rgb(136 136 136)hsl(0 0% 53%)oklch(62.7% 0.000 0)5.92 AA
亮红color9#ef8383rgb(239 131 131)hsl(0 77% 73%)oklch(72.9% 0.133 20.8)8.24 AAA
亮绿color10#7ed684rgb(126 214 132)hsl(124 52% 67%)oklch(80.0% 0.142 145.6)11.84 AAA
亮黄color11#efe28brgb(239 226 139)hsl(52 76% 74%)oklch(90.4% 0.109 100.9)15.92 AAA
亮蓝color12#b3bfefrgb(179 191 239)hsl(228 65% 82%)oklch(81.2% 0.069 273.8)11.62 AAA
亮品红color13#efb3e3rgb(239 179 227)hsl(312 65% 82%)oklch(83.6% 0.093 333.6)12.23 AAA
亮青color14#9ce2e2rgb(156 226 226)hsl(180 55% 75%)oklch(86.7% 0.070 195.9)14.39 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA

关于 Ibm3270

Ibm3270 采用中性色调的深色背景(#000000),默认前景色为 #fdfdfd。正文的 WCAG 对比度为 20.65:1(AAA),12 种 ANSI 彩色槽位平均对比度 11.13:1,最低 4.85:1。

色板整体色彩饱和度适中,其中红色为 #f01818、绿色为 #24d830、蓝色为 #7890f0、品红为 #f078d8。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Ibm3270 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)