跳到正文

Ibm 3270 (High Contrast)

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

获取配置
背景色
#000000
前景色
#fdfdfd
文字对比度
20.65:1AAA
强调色对比度
12.11:1最低 1.88
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 3270 (High Contrast) 的配置文件

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

Ibm 3270 (High Contrast)

存到 ~/.config/ghostty/themes/Ibm 3270 (High Contrast),再在 config 或 config.ghostty 里写 theme = Ibm 3270 (High Contrast)

更多 Ghostty 配色
原始文件
# Theme: Ibm 3270 (High Contrast) (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/ibm-3270-high-contrast?format=ghostty

palette = 0=#000000
palette = 1=#ff0000
palette = 2=#00ff00
palette = 3=#ffff00
palette = 4=#00bfff
palette = 5=#ffc0cb
palette = 6=#40e0d0
palette = 7=#bebebe
palette = 8=#414141
palette = 9=#ffa500
palette = 10=#98fb98
palette = 11=#ffff00
palette = 12=#0000cd
palette = 13=#a020f0
palette = 14=#aeeeee
palette = 15=#ffffff
background = #000000
foreground = #fdfdfd
cursor-color = #fdfdfd
cursor-text = #000000
selection-background = #212121
selection-foreground = #fdfdfd

Ibm 3270 (High Contrast) 色板

色板各槽位的色值及其相对背景的 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#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低于 AA
红color1#ff0000rgb(255 0 0)hsl(0 100% 50%)oklch(62.8% 0.258 29.2)5.25 AA
绿color2#00ff00rgb(0 255 0)hsl(120 100% 50%)oklch(86.6% 0.295 142.5)15.30 AAA
黄color3#ffff00rgb(255 255 0)hsl(60 100% 50%)oklch(96.8% 0.211 109.8)19.56 AAA
蓝color4#00bfffrgb(0 191 255)hsl(195 100% 50%)oklch(75.5% 0.153 231.6)9.90 AAA
品红color5#ffc0cbrgb(255 192 203)hsl(350 100% 88%)oklch(86.8% 0.074 7.1)13.65 AAA
青color6#40e0d0rgb(64 224 208)hsl(174 72% 56%)oklch(82.2% 0.131 185.1)12.79 AAA
白color7#bebebergb(190 190 190)hsl(0 0% 75%)oklch(80.2% 0.000 0)11.30 AAA
亮黑color8#414141rgb(65 65 65)hsl(0 0% 25%)oklch(37.5% 0.000 0)2.06 低于 AA
亮红color9#ffa500rgb(255 165 0)hsl(39 100% 50%)oklch(79.3% 0.171 70.7)10.63 AAA
亮绿color10#98fb98rgb(152 251 152)hsl(120 93% 79%)oklch(90.4% 0.162 144.1)16.59 AAA
亮黄color11#ffff00rgb(255 255 0)hsl(60 100% 50%)oklch(96.8% 0.211 109.8)19.56 AAA
亮蓝color12#0000cdrgb(0 0 205)hsl(240 100% 40%)oklch(38.3% 0.266 264.1)1.88 低于 AA
亮品红color13#a020f0rgb(160 32 240)hsl(277 87% 53%)oklch(56.6% 0.274 306.4)3.96 AA 大字号
亮青color14#aeeeeergb(174 238 238)hsl(180 65% 81%)oklch(90.6% 0.064 196.1)16.26 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA

关于 Ibm 3270 (High Contrast)

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

色板整体色彩饱和度较高,其中红色为 #ff0000、绿色为 #00ff00、蓝色为 #00bfff、品红为 #ffc0cb。

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

与 Ibm 3270 (High Contrast) 相似的配色

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