跳到主要內容

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/zh-tw/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)