跳到主要內容

Midnight Arcade

Midnight Arcade 是一套深色終端機配色(高對比、冷色),背景色 #0b1220,文字色 #f8fafc,對比度 17.9:1

取得設定檔
背景色
#0b1220
前景色
#f8fafc
文字對比度
17.89:1AAA
強調色對比度
9.30:1最低 6.96
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
❯

Midnight Arcade 的設定檔

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

Midnight Arcade

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

更多 Ghostty 配色
原始檔
# Theme: Midnight Arcade (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/midnight-arcade?format=ghostty

palette = 0=#3f4550
palette = 1=#fb7185
palette = 2=#22c55e
palette = 3=#fbbf24
palette = 4=#60a5fa
palette = 5=#e879f9
palette = 6=#22d3ee
palette = 7=#b6c2d5
palette = 8=#3d4452
palette = 9=#fc8d9d
palette = 10=#4ed17e
palette = 11=#fccb4b
palette = 12=#80b7fb
palette = 13=#ed94fa
palette = 14=#4edcf1
palette = 15=#f8fafc
background = #0b1220
foreground = #f8fafc
cursor-color = #f8fafc
cursor-text = #0b1220
selection-background = #f8fafc
selection-foreground = #0b1220

Midnight Arcade 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0b1220rgb(11 18 32)hsl(220 49% 8%)oklch(18.3% 0.031 263.4)—
前景色foreground#f8fafcrgb(248 250 252)hsl(210 40% 98%)oklch(98.4% 0.003 247.9)17.89 AAA
游標cursor#f8fafcrgb(248 250 252)hsl(210 40% 98%)oklch(98.4% 0.003 247.9)17.89 AAA
游標文字cursorText#0b1220rgb(11 18 32)hsl(220 49% 8%)oklch(18.3% 0.031 263.4)1.00 低於 AA
選取範圍selection#f8fafcrgb(248 250 252)hsl(210 40% 98%)oklch(98.4% 0.003 247.9)17.89 AAA
選取文字selectionText#0b1220rgb(11 18 32)hsl(220 49% 8%)oklch(18.3% 0.031 263.4)1.00 低於 AA
黑color0#3f4550rgb(63 69 80)hsl(219 12% 28%)oklch(38.9% 0.020 262.6)1.94 低於 AA
紅color1#fb7185rgb(251 113 133)hsl(351 95% 71%)oklch(71.9% 0.169 13.4)6.96 AA
綠color2#22c55ergb(34 197 94)hsl(142 71% 45%)oklch(72.3% 0.192 149.6)8.22 AAA
黃color3#fbbf24rgb(251 191 36)hsl(43 96% 56%)oklch(83.7% 0.164 84.4)11.22 AAA
藍color4#60a5fargb(96 165 250)hsl(213 94% 68%)oklch(71.4% 0.143 254.6)7.36 AAA
洋紅color5#e879f9rgb(232 121 249)hsl(292 91% 73%)oklch(74.8% 0.207 322.2)7.61 AAA
青color6#22d3eergb(34 211 238)hsl(188 86% 53%)oklch(79.7% 0.134 211.5)10.36 AAA
白color7#b6c2d5rgb(182 194 213)hsl(217 27% 77%)oklch(81.1% 0.030 259.6)10.40 AAA
亮黑color8#3d4452rgb(61 68 82)hsl(220 15% 28%)oklch(38.6% 0.026 264.2)1.91 低於 AA
亮紅color9#fc8d9drgb(252 141 157)hsl(351 95% 77%)oklch(76.7% 0.135 11.6)8.41 AAA
亮綠color10#4ed17ergb(78 209 126)hsl(142 59% 56%)oklch(76.8% 0.165 152.3)9.58 AAA
亮黃color11#fccb4brgb(252 203 75)hsl(43 97% 64%)oklch(86.3% 0.151 87.3)12.29 AAA
亮藍color12#80b7fbrgb(128 183 251)hsl(213 94% 74%)oklch(76.8% 0.114 254.3)8.99 AAA
亮洋紅color13#ed94fargb(237 148 250)hsl(292 91% 78%)oklch(79.2% 0.167 322.3)9.11 AAA
亮青color14#4edcf1rgb(78 220 241)hsl(188 85% 63%)oklch(82.7% 0.122 209.1)11.44 AAA
亮白color15#f8fafcrgb(248 250 252)hsl(210 40% 98%)oklch(98.4% 0.003 247.9)17.89 AAA

關於 Midnight Arcade

Midnight Arcade 採用冷色調的深色背景(#0b1220),預設前景色為 #f8fafc。內文的 WCAG 對比度為 17.89:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.30:1,最低 6.96:1。

色票整體色彩彩度適中,其中紅色為 #fb7185、綠色為 #22c55e、藍色為 #60a5fa、洋紅為 #e879f9。

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

與 Midnight Arcade 相似的配色

資料來源:iTerm2 Color Schemes (MIT)