跳到正文

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