跳到主要內容

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