跳到正文

Dumbledore

Dumbledore 是一套深色终端配色(冷色),背景色 #422553,文字色 #c4c8c5,对比度 7.7:1

获取配置
背景色
#422553
前景色
#c4c8c5
文字对比度
7.66:1AAA
强调色对比度
4.06:1最低 1.73
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
❯

Dumbledore 的配置文件

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

Dumbledore

存到 ~/.config/ghostty/themes/Dumbledore,再在 config 或 config.ghostty 里写 theme = Dumbledore

更多 Ghostty 配色
原始文件
# Theme: Dumbledore (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/dumbledore?format=ghostty

palette = 0=#2b283d
palette = 1=#ae0000
palette = 2=#3e7c54
palette = 3=#f0c75e
palette = 4=#415baf
palette = 5=#9445ae
palette = 6=#008aff
palette = 7=#850000
palette = 8=#413e53
palette = 9=#d3a624
palette = 10=#aaaaaa
palette = 11=#716254
palette = 12=#946a2c
palette = 13=#b294ba
palette = 14=#25de50
palette = 15=#c9c9c9
background = #422553
foreground = #c4c8c5
cursor-color = #c4c8c5
cursor-text = #422553
selection-background = #614b6f
selection-foreground = #c4c8c5

Dumbledore 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#422553rgb(66 37 83)hsl(278 38% 24%)oklch(32.4% 0.085 311.6)—
前景色foreground#c4c8c5rgb(196 200 197)hsl(135 4% 78%)oklch(82.9% 0.006 153.8)7.66 AAA
光标cursor#c4c8c5rgb(196 200 197)hsl(135 4% 78%)oklch(82.9% 0.006 153.8)7.66 AAA
光标文字cursorText#422553rgb(66 37 83)hsl(278 38% 24%)oklch(32.4% 0.085 311.6)1.00 低于 AA
选区selection#614b6frgb(97 75 111)hsl(277 19% 36%)oklch(45.0% 0.063 311.8)1.69 低于 AA
选区文字selectionText#c4c8c5rgb(196 200 197)hsl(135 4% 78%)oklch(82.9% 0.006 153.8)7.66 AAA
黑color0#2b283drgb(43 40 61)hsl(249 21% 20%)oklch(29.0% 0.038 290.4)1.10 低于 AA
红color1#ae0000rgb(174 0 0)hsl(0 100% 34%)oklch(47.1% 0.193 29.2)1.73 低于 AA
绿color2#3e7c54rgb(62 124 84)hsl(141 33% 36%)oklch(53.3% 0.091 153.8)2.60 低于 AA
黄color3#f0c75ergb(240 199 94)hsl(43 83% 65%)oklch(84.5% 0.131 88.0)8.04 AAA
蓝color4#415bafrgb(65 91 175)hsl(226 46% 47%)oklch(49.5% 0.137 268.2)2.06 低于 AA
品红color5#9445aergb(148 69 174)hsl(285 43% 48%)oklch(53.6% 0.173 316.9)2.30 低于 AA
青color6#008affrgb(0 138 255)hsl(208 100% 50%)oklch(63.6% 0.200 253.5)3.75 AA 大字号
白color7#850000rgb(133 0 0)hsl(0 100% 26%)oklch(38.7% 0.159 29.2)1.23 低于 AA
亮黑color8#413e53rgb(65 62 83)hsl(249 14% 28%)oklch(37.6% 0.036 291.1)1.26 低于 AA
亮红color9#d3a624rgb(211 166 36)hsl(45 71% 48%)oklch(74.6% 0.144 87.6)5.71 AA
亮绿color10#aaaaaargb(170 170 170)hsl(0 0% 67%)oklch(73.8% 0.000 0)5.58 AA
亮黄color11#716254rgb(113 98 84)hsl(29 15% 39%)oklch(50.6% 0.029 65.1)2.21 低于 AA
亮蓝color12#946a2crgb(148 106 44)hsl(36 54% 38%)oklch(55.5% 0.095 74.0)2.69 低于 AA
亮品红color13#b294bargb(178 148 186)hsl(287 22% 65%)oklch(70.6% 0.064 319.1)4.83 AA
亮青color14#25de50rgb(37 222 80)hsl(134 74% 51%)oklch(78.7% 0.231 145.9)7.18 AAA
亮白color15#c9c9c9rgb(201 201 201)hsl(0 0% 79%)oklch(83.6% 0.000 0)7.82 AAA

关于 Dumbledore

Dumbledore 采用冷色调的深色背景(#422553),默认前景色为 #c4c8c5。正文的 WCAG 对比度为 7.66:1(AAA),12 种 ANSI 彩色槽位平均对比度 4.06:1,最低 1.73:1。

色板整体色彩饱和度适中,其中红色为 #ae0000、绿色为 #3e7c54、蓝色为 #415baf、品红为 #9445ae。

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

与 Dumbledore 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)