跳到正文

Madman's Diary

Madman's Diary 是一套深色终端配色(鲜艳),背景色 #1a0e17,文字色 #f4e7d7,对比度 15.4:1

获取配置
背景色
#1a0e17
前景色
#f4e7d7
文字对比度
15.42:1AAA
强调色对比度
7.52:1最低 2.10
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
❯

Madman's Diary 的配置文件

16 种格式,都从同一份色板生成

Madman's Diary

存到 ~/.config/ghostty/themes/Madman's Diary,再在 config 或 config.ghostty 里写 theme = Madman's Diary

更多 Ghostty 配色
原始文件
# Theme: Madman's Diary (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/madman-s-diary?format=ghostty

palette = 0=#3b1919
palette = 1=#8b1e3e
palette = 2=#d25944
palette = 3=#59ae08
palette = 4=#fbbf24
palette = 5=#a855f7
palette = 6=#ef4444
palette = 7=#f472b6
palette = 8=#5a3a2e
palette = 9=#fb7185
palette = 10=#34d399
palette = 11=#fde047
palette = 12=#60a5fa
palette = 13=#c084fc
palette = 14=#22d3ee
palette = 15=#fff7e6
background = #1a0e17
foreground = #f4e7d7
cursor-color = #ff3e3e
cursor-text = #3a1b15
selection-background = #ff6633
selection-foreground = #ffeb83

Madman's Diary 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#1a0e17rgb(26 14 23)hsl(315 30% 8%)oklch(18.5% 0.026 336.1)—
前景色foreground#f4e7d7rgb(244 231 215)hsl(33 57% 90%)oklch(93.4% 0.026 73.2)15.42 AAA
光标cursor#ff3e3ergb(255 62 62)hsl(0 100% 62%)oklch(65.8% 0.228 26.2)5.37 AA
光标文字cursorText#3a1b15rgb(58 27 21)hsl(10 47% 15%)oklch(26.5% 0.050 32.1)1.20 低于 AA
选区selection#ff6633rgb(255 102 51)hsl(15 100% 60%)oklch(69.8% 0.197 38.0)6.43 AA
选区文字selectionText#ffeb83rgb(255 235 131)hsl(50 100% 76%)oklch(93.5% 0.127 98.7)15.60 AAA
黑color0#3b1919rgb(59 25 25)hsl(0 40% 16%)oklch(26.3% 0.054 21.4)1.20 低于 AA
红color1#8b1e3ergb(139 30 62)hsl(342 64% 33%)oklch(42.6% 0.145 8.9)2.10 低于 AA
绿color2#d25944rgb(210 89 68)hsl(9 61% 55%)oklch(61.5% 0.158 31.8)4.69 AA
黄color3#59ae08rgb(89 174 8)hsl(91 91% 36%)oklch(67.1% 0.195 135.4)6.69 AA
蓝color4#fbbf24rgb(251 191 36)hsl(43 96% 56%)oklch(83.7% 0.164 84.4)11.24 AAA
品红color5#a855f7rgb(168 85 247)hsl(271 91% 65%)oklch(62.7% 0.233 303.9)4.74 AA
青color6#ef4444rgb(239 68 68)hsl(0 84% 60%)oklch(63.7% 0.208 25.3)4.99 AA
白color7#f472b6rgb(244 114 182)hsl(329 86% 70%)oklch(72.5% 0.175 349.8)7.09 AAA
亮黑color8#5a3a2ergb(90 58 46)hsl(16 32% 27%)oklch(38.3% 0.050 41.3)1.86 低于 AA
亮红color9#fb7185rgb(251 113 133)hsl(351 95% 71%)oklch(71.9% 0.169 13.4)6.97 AA
亮绿color10#34d399rgb(52 211 153)hsl(158 64% 52%)oklch(77.3% 0.153 163.2)9.76 AAA
亮黄color11#fde047rgb(253 224 71)hsl(50 98% 64%)oklch(90.5% 0.166 98.1)14.23 AAA
亮蓝color12#60a5fargb(96 165 250)hsl(213 94% 68%)oklch(71.4% 0.143 254.6)7.38 AAA
亮品红color13#c084fcrgb(192 132 252)hsl(270 95% 75%)oklch(72.2% 0.177 305.5)7.10 AAA
亮青color14#22d3eergb(34 211 238)hsl(188 86% 53%)oklch(79.7% 0.134 211.5)10.38 AAA
亮白color15#fff7e6rgb(255 247 230)hsl(41 100% 95%)oklch(97.8% 0.024 85.8)17.60 AAA

关于 Madman's Diary

Madman's Diary 采用中性色调的深色背景(#1a0e17),默认前景色为 #f4e7d7。正文的 WCAG 对比度为 15.42:1(AAA),12 种 ANSI 彩色槽位平均对比度 7.52:1,最低 2.10:1。

色板整体色彩饱和度较高,其中红色为 #8b1e3e、绿色为 #d25944、蓝色为 #fbbf24、品红为 #a855f7。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Madman's Diary 相似的配色

数据来源:iTerm2 Color Schemes (MIT)