跳到主要內容

Midnight Rambler

Midnight Rambler 是一套深色終端機配色(冷色),背景色 #081a30,文字色 #e6f0fa,對比度 15.2:1

取得設定檔
背景色
#081a30
前景色
#e6f0fa
文字對比度
15.16:1AAA
強調色對比度
8.96:1最低 6.23
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 Rambler 的設定檔

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

Midnight Rambler

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

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

palette = 0=#a6a7a6
palette = 1=#ed748d
palette = 2=#7ac9ac
palette = 3=#e4c274
palette = 4=#77b8f0
palette = 5=#c18be9
palette = 6=#73d3df
palette = 7=#e6f0fa
palette = 8=#c4c7c8
palette = 9=#f08a9f
palette = 10=#8fd2b9
palette = 11=#e8cc8a
palette = 12=#8dc3f2
palette = 13=#cb9eed
palette = 14=#89dae4
palette = 15=#fff9ee
background = #081a30
foreground = #e6f0fa
cursor-color = #e4c274
cursor-text = #081a30
selection-background = #394653
selection-foreground = #fff8ee

Midnight Rambler 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#081a30rgb(8 26 48)hsl(213 71% 11%)oklch(21.6% 0.050 254.7)—
前景色foreground#e6f0fargb(230 240 250)hsl(210 67% 94%)oklch(95.1% 0.017 248.0)15.16 AAA
游標cursor#e4c274rgb(228 194 116)hsl(42 67% 67%)oklch(82.7% 0.105 86.6)10.22 AAA
游標文字cursorText#081a30rgb(8 26 48)hsl(213 71% 11%)oklch(21.6% 0.050 254.7)1.00 低於 AA
選取範圍selection#394653rgb(57 70 83)hsl(210 19% 27%)oklch(38.8% 0.028 248.5)1.81 低於 AA
選取文字selectionText#fff8eergb(255 248 238)hsl(35 100% 97%)oklch(98.2% 0.015 77.1)16.58 AAA
黑color0#a6a7a6rgb(166 167 166)hsl(120 1% 65%)oklch(72.7% 0.002 145.6)7.24 AAA
紅color1#ed748drgb(237 116 141)hsl(348 77% 69%)oklch(70.6% 0.151 8.7)6.23 AA
綠color2#7ac9acrgb(122 201 172)hsl(158 42% 63%)oklch(77.7% 0.089 168.6)8.98 AAA
黃color3#e4c274rgb(228 194 116)hsl(42 67% 67%)oklch(82.7% 0.105 86.6)10.22 AAA
藍color4#77b8f0rgb(119 184 240)hsl(208 80% 70%)oklch(76.1% 0.105 245.8)8.24 AAA
洋紅color5#c18be9rgb(193 139 233)hsl(274 68% 73%)oklch(72.5% 0.143 309.6)6.78 AA
青color6#73d3dfrgb(115 211 223)hsl(187 63% 66%)oklch(81.2% 0.092 206.1)10.09 AAA
白color7#e6f0fargb(230 240 250)hsl(210 67% 94%)oklch(95.1% 0.017 248.0)15.16 AAA
亮黑color8#c4c7c8rgb(196 199 200)hsl(195 4% 78%)oklch(82.8% 0.004 219.5)10.29 AAA
亮紅color9#f08a9frgb(240 138 159)hsl(348 77% 74%)oklch(74.8% 0.126 7.3)7.36 AAA
亮綠color10#8fd2b9rgb(143 210 185)hsl(158 43% 69%)oklch(81.2% 0.077 169.1)10.07 AAA
亮黃color11#e8cc8argb(232 204 138)hsl(42 67% 73%)oklch(85.4% 0.090 87.5)11.19 AAA
亮藍color12#8dc3f2rgb(141 195 242)hsl(208 80% 75%)oklch(79.7% 0.088 245.5)9.34 AAA
亮洋紅color13#cb9eedrgb(203 158 237)hsl(274 69% 77%)oklch(76.9% 0.120 309.8)8.04 AAA
亮青color14#89dae4rgb(137 218 228)hsl(187 63% 72%)oklch(84.0% 0.080 205.7)11.00 AAA
亮白color15#fff9eergb(255 249 238)hsl(39 100% 97%)oklch(98.4% 0.016 82.8)16.69 AAA

關於 Midnight Rambler

Midnight Rambler 採用冷色調的深色背景(#081a30),預設前景色為 #e6f0fa。內文的 WCAG 對比度為 15.16:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.96:1,最低 6.23:1。

色票整體色彩彩度適中,其中紅色為 #ed748d、綠色為 #7ac9ac、藍色為 #77b8f0、洋紅為 #c18be9。

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

與 Midnight Rambler 相似的配色

資料來源:iTerm2 Color Schemes (MIT)