跳到主要內容

Inferno

Inferno 是一套深色終端機配色(暖色),背景色 #270d06,文字色 #d9d9d9,對比度 13.0:1

取得設定檔
背景色
#270d06
前景色
#d9d9d9
文字對比度
12.98:1AAA
強調色對比度
8.97:1最低 4.99
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
❯

Inferno 的設定檔

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

Inferno

存到 ~/.config/ghostty/themes/Inferno,再在 config 或 config.ghostty 裏寫 theme = Inferno

更多 Ghostty 配色
原始檔案
# Theme: Inferno (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/inferno?format=ghostty

palette = 0=#330000
palette = 1=#ff3300
palette = 2=#ff6600
palette = 3=#ff9900
palette = 4=#ffcc00
palette = 5=#ff6600
palette = 6=#ff9900
palette = 7=#d9d9d9
palette = 8=#663300
palette = 9=#ff6633
palette = 10=#ff9966
palette = 11=#ffcc99
palette = 12=#ffcc33
palette = 13=#ff9966
palette = 14=#ffcc99
palette = 15=#d9d9d9
background = #270d06
foreground = #d9d9d9
cursor-color = #d9d9d9
cursor-text = #270d06
selection-background = #503a33
selection-foreground = #d9d9d9

Inferno 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#270d06rgb(39 13 6)hsl(13 73% 9%)oklch(19.9% 0.046 37.1)—
前景色foreground#d9d9d9rgb(217 217 217)hsl(0 0% 85%)oklch(88.5% 0.000 0)12.98 AAA
光標cursor#d9d9d9rgb(217 217 217)hsl(0 0% 85%)oklch(88.5% 0.000 0)12.98 AAA
光標文字cursorText#270d06rgb(39 13 6)hsl(13 73% 9%)oklch(19.9% 0.046 37.1)1.00 低於 AA
選取範圍selection#503a33rgb(80 58 51)hsl(14 22% 26%)oklch(37.1% 0.034 38.4)1.74 低於 AA
選取文字selectionText#d9d9d9rgb(217 217 217)hsl(0 0% 85%)oklch(88.5% 0.000 0)12.98 AAA
黑color0#330000rgb(51 0 0)hsl(0 100% 10%)oklch(20.2% 0.083 29.2)1.01 低於 AA
紅color1#ff3300rgb(255 51 0)hsl(12 100% 50%)oklch(64.6% 0.241 32.6)4.99 AA
綠color2#ff6600rgb(255 102 0)hsl(24 100% 50%)oklch(69.6% 0.204 43.5)6.24 AA
黃color3#ff9900rgb(255 153 0)hsl(36 100% 50%)oklch(77.2% 0.174 64.6)8.56 AAA
藍color4#ffcc00rgb(255 204 0)hsl(48 100% 50%)oklch(86.5% 0.177 90.4)12.11 AAA
洋紅color5#ff6600rgb(255 102 0)hsl(24 100% 50%)oklch(69.6% 0.204 43.5)6.24 AA
青color6#ff9900rgb(255 153 0)hsl(36 100% 50%)oklch(77.2% 0.174 64.6)8.56 AAA
白color7#d9d9d9rgb(217 217 217)hsl(0 0% 85%)oklch(88.5% 0.000 0)12.98 AAA
亮黑color8#663300rgb(102 51 0)hsl(30 100% 20%)oklch(38.0% 0.092 56.8)1.78 低於 AA
亮紅color9#ff6633rgb(255 102 51)hsl(15 100% 60%)oklch(69.8% 0.197 38.0)6.28 AA
亮綠color10#ff9966rgb(255 153 102)hsl(20 100% 70%)oklch(77.9% 0.139 46.6)8.72 AAA
亮黃color11#ffcc99rgb(255 204 153)hsl(30 100% 80%)oklch(87.8% 0.088 66.3)12.52 AAA
亮藍color12#ffcc33rgb(255 204 51)hsl(45 100% 60%)oklch(86.7% 0.165 88.7)12.16 AAA
亮洋紅color13#ff9966rgb(255 153 102)hsl(20 100% 70%)oklch(77.9% 0.139 46.6)8.72 AAA
亮青color14#ffcc99rgb(255 204 153)hsl(30 100% 80%)oklch(87.8% 0.088 66.3)12.52 AAA
亮白color15#d9d9d9rgb(217 217 217)hsl(0 0% 85%)oklch(88.5% 0.000 0)12.98 AAA

關於 Inferno

Inferno 採用暖色調的深色背景(#270d06),預設前景色為 #d9d9d9。正文的 WCAG 對比度為 12.98:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.97:1,最低 4.99:1。

色板整體色彩飽和度適中,其中紅色為 #ff3300、綠色為 #ff6600、藍色為 #ffcc00、洋紅為 #ff6600。

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

與 Inferno 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)