跳到主要內容

Black Metal

Black Metal 是一套深色終端機配色(純黑、單色),背景色 #000000,文字色 #c1c1c1,對比度 11.7:1

取得設定檔
背景色
#000000
前景色
#c1c1c1
文字對比度
11.67:1AAA
強調色對比度
6.62:1最低 3.74
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
❯

Black Metal 的設定檔

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

Black Metal

存到 ~/.config/ghostty/themes/Black Metal,再在 config 或 config.ghostty 裡寫 theme = Black Metal

更多 Ghostty 配色
原始檔
# Theme: Black Metal (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/black-metal?format=ghostty

palette = 0=#000000
palette = 1=#486e6f
palette = 2=#dd9999
palette = 3=#a06666
palette = 4=#888888
palette = 5=#999999
palette = 6=#aaaaaa
palette = 7=#c1c1c1
palette = 8=#404040
palette = 9=#486e6f
palette = 10=#dd9999
palette = 11=#a06666
palette = 12=#888888
palette = 13=#999999
palette = 14=#aaaaaa
palette = 15=#c1c1c1
background = #000000
foreground = #c1c1c1
cursor-color = #c1c1c1
cursor-text = #8e8e8e
selection-background = #c1c1c1
selection-foreground = #000000

Black Metal 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#c1c1c1rgb(193 193 193)hsl(0 0% 76%)oklch(81.1% 0.000 0)11.67 AAA
游標cursor#c1c1c1rgb(193 193 193)hsl(0 0% 76%)oklch(81.1% 0.000 0)11.67 AAA
游標文字cursorText#8e8e8ergb(142 142 142)hsl(0 0% 56%)oklch(64.7% 0.000 0)6.41 AA
選取範圍selection#c1c1c1rgb(193 193 193)hsl(0 0% 76%)oklch(81.1% 0.000 0)11.67 AAA
選取文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
紅color1#486e6frgb(72 110 111)hsl(182 21% 36%)oklch(51.0% 0.043 198.0)3.74 AA 大字級
綠color2#dd9999rgb(221 153 153)hsl(0 50% 73%)oklch(74.9% 0.082 19.2)9.09 AAA
黃color3#a06666rgb(160 102 102)hsl(0 23% 51%)oklch(57.3% 0.075 19.6)4.59 AA
藍color4#888888rgb(136 136 136)hsl(0 0% 53%)oklch(62.7% 0.000 0)5.92 AA
洋紅color5#999999rgb(153 153 153)hsl(0 0% 60%)oklch(68.3% 0.000 0)7.37 AAA
青color6#aaaaaargb(170 170 170)hsl(0 0% 67%)oklch(73.8% 0.000 0)9.04 AAA
白color7#c1c1c1rgb(193 193 193)hsl(0 0% 76%)oklch(81.1% 0.000 0)11.67 AAA
亮黑color8#404040rgb(64 64 64)hsl(0 0% 25%)oklch(37.1% 0.000 0)2.03 低於 AA
亮紅color9#486e6frgb(72 110 111)hsl(182 21% 36%)oklch(51.0% 0.043 198.0)3.74 AA 大字級
亮綠color10#dd9999rgb(221 153 153)hsl(0 50% 73%)oklch(74.9% 0.082 19.2)9.09 AAA
亮黃color11#a06666rgb(160 102 102)hsl(0 23% 51%)oklch(57.3% 0.075 19.6)4.59 AA
亮藍color12#888888rgb(136 136 136)hsl(0 0% 53%)oklch(62.7% 0.000 0)5.92 AA
亮洋紅color13#999999rgb(153 153 153)hsl(0 0% 60%)oklch(68.3% 0.000 0)7.37 AAA
亮青color14#aaaaaargb(170 170 170)hsl(0 0% 67%)oklch(73.8% 0.000 0)9.04 AAA
亮白color15#c1c1c1rgb(193 193 193)hsl(0 0% 76%)oklch(81.1% 0.000 0)11.67 AAA

關於 Black Metal

Black Metal 採用中性色調的深色背景(#000000),預設前景色為 #c1c1c1。內文的 WCAG 對比度為 11.67:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.62:1,最低 3.74:1。

色票整體色彩彩度偏低,其中紅色為 #486e6f、綠色為 #dd9999、藍色為 #888888、洋紅為 #999999。此配色歸屬 Black Metal 主題系列。

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

與 Black Metal 相似的配色

資料來源:iTerm2 Color Schemes (MIT)