跳到正文

IR Black

IR Black 是一套深色终端配色(纯黑、高对比度),背景色 #000000,文字色 #f1f1f1,对比度 18.6:1

获取配置
背景色
#000000
前景色
#f1f1f1
文字对比度
18.59:1AAA
强调色对比度
14.35:1最低 7.38
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
❯

IR Black 的配置文件

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

IR Black

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

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

palette = 0=#4f4f4f
palette = 1=#fa6c60
palette = 2=#a8ff60
palette = 3=#fffeb7
palette = 4=#96cafe
palette = 5=#fa73fd
palette = 6=#c6c5fe
palette = 7=#efedef
palette = 8=#7b7b7b
palette = 9=#fcb6b0
palette = 10=#cfffab
palette = 11=#ffffcc
palette = 12=#b5dcff
palette = 13=#fb9cfe
palette = 14=#e0e0fe
palette = 15=#ffffff
background = #000000
foreground = #f1f1f1
cursor-color = #808080
cursor-text = #ffffff
selection-background = #b5d5ff
selection-foreground = #000000

IR Black 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#f1f1f1rgb(241 241 241)hsl(0 0% 95%)oklch(95.8% 0.000 0)18.59 AAA
光标cursor#808080rgb(128 128 128)hsl(0 0% 50%)oklch(60.0% 0.000 0)5.32 AA
光标文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
选区selection#b5d5ffrgb(181 213 255)hsl(214 100% 85%)oklch(86.4% 0.068 255.3)13.93 AAA
选区文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低于 AA
黑color0#4f4f4frgb(79 79 79)hsl(0 0% 31%)oklch(42.8% 0.000 0)2.56 低于 AA
红color1#fa6c60rgb(250 108 96)hsl(5 94% 68%)oklch(70.4% 0.176 27.3)7.38 AAA
绿color2#a8ff60rgb(168 255 96)hsl(93 100% 69%)oklch(91.4% 0.209 133.4)17.14 AAA
黄color3#fffeb7rgb(255 254 183)hsl(59 100% 86%)oklch(98.1% 0.090 107.3)20.11 AAA
蓝color4#96cafergb(150 202 254)hsl(210 98% 79%)oklch(82.2% 0.092 249.0)12.18 AAA
品红color5#fa73fdrgb(250 115 253)hsl(299 97% 72%)oklch(76.4% 0.229 326.7)8.94 AAA
青color6#c6c5fergb(198 197 254)hsl(241 97% 88%)oklch(84.4% 0.079 285.4)12.82 AAA
白color7#efedefrgb(239 237 239)hsl(300 6% 93%)oklch(94.8% 0.003 325.6)18.03 AAA
亮黑color8#7b7b7brgb(123 123 123)hsl(0 0% 48%)oklch(58.3% 0.000 0)4.96 AA
亮红color9#fcb6b0rgb(252 182 176)hsl(5 93% 84%)oklch(84.0% 0.082 24.5)12.46 AAA
亮绿color10#cfffabrgb(207 255 171)hsl(94 100% 84%)oklch(94.7% 0.119 132.5)18.55 AAA
亮黄color11#ffffccrgb(255 255 204)hsl(60 100% 90%)oklch(98.8% 0.065 107.5)20.43 AAA
亮蓝color12#b5dcffrgb(181 220 255)hsl(208 100% 85%)oklch(87.8% 0.064 245.7)14.65 AAA
亮品红color13#fb9cfergb(251 156 254)hsl(298 98% 80%)oklch(82.1% 0.166 325.9)11.29 AAA
亮青color14#e0e0fergb(224 224 254)hsl(240 94% 94%)oklch(91.6% 0.041 285.6)16.26 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA

关于 IR Black

IR Black 采用中性色调的深色背景(#000000),默认前景色为 #f1f1f1。正文的 WCAG 对比度为 18.59:1(AAA),12 种 ANSI 彩色槽位平均对比度 14.35:1,最低 7.38:1。

色板整体色彩饱和度适中,其中红色为 #fa6c60、绿色为 #a8ff60、蓝色为 #96cafe、品红为 #fa73fd。

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

与 IR Black 相似的配色

数据来源:iTerm2 Color Schemes (MIT)