跳到主要內容

Doom Peacock

Doom Peacock 是一套深色終端機配色,背景色 #2b2a27,文字色 #ede0ce,對比度 11.0:1

取得設定檔
背景色
#2b2a27
前景色
#ede0ce
文字對比度
11.04:1AAA
強調色對比度
6.10:1最低 2.77
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
❯

Doom Peacock 的設定檔

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

Doom Peacock

存到 ~/.config/ghostty/themes/Doom Peacock,再在 config 或 config.ghostty 裏寫 theme = Doom Peacock

更多 Ghostty 配色
原始檔案
# Theme: Doom Peacock (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/doom-peacock?format=ghostty

palette = 0=#1c1f24
palette = 1=#cb4b16
palette = 2=#26a6a6
palette = 3=#bcd42a
palette = 4=#2a6cc6
palette = 5=#a9a1e1
palette = 6=#5699af
palette = 7=#ede0ce
palette = 8=#2b2a27
palette = 9=#ff5d38
palette = 10=#98be65
palette = 11=#e6f972
palette = 12=#51afef
palette = 13=#c678dd
palette = 14=#46d9ff
palette = 15=#dfdfdf
background = #2b2a27
foreground = #ede0ce
cursor-color = #9c9c9d
cursor-text = #36312b
selection-background = #a60033
selection-foreground = #ffffff

Doom Peacock 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#2b2a27rgb(43 42 39)hsl(45 5% 16%)oklch(28.5% 0.006 91.6)—
前景色foreground#ede0cergb(237 224 206)hsl(35 46% 87%)oklch(91.2% 0.028 76.2)11.04 AAA
光標cursor#9c9c9drgb(156 156 157)hsl(240 1% 61%)oklch(69.3% 0.001 286.4)5.23 AA
光標文字cursorText#36312brgb(54 49 43)hsl(33 11% 19%)oklch(31.6% 0.013 72.4)1.11 低於 AA
選取範圍selection#a60033rgb(166 0 51)hsl(342 100% 33%)oklch(46.1% 0.184 16.0)1.82 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.35 AAA
黑color0#1c1f24rgb(28 31 36)hsl(218 13% 13%)oklch(23.8% 0.011 260.7)1.15 低於 AA
紅color1#cb4b16rgb(203 75 22)hsl(18 80% 44%)oklch(58.1% 0.173 39.5)3.11 AA 大字體
綠color2#26a6a6rgb(38 166 166)hsl(180 63% 40%)oklch(66.0% 0.105 194.9)4.84 AA
黃color3#bcd42argb(188 212 42)hsl(68 67% 50%)oklch(82.4% 0.181 117.9)8.60 AAA
藍color4#2a6cc6rgb(42 108 198)hsl(215 65% 47%)oklch(53.8% 0.155 257.3)2.77 低於 AA
洋紅color5#a9a1e1rgb(169 161 225)hsl(248 52% 76%)oklch(73.9% 0.092 289.7)6.06 AA
青color6#5699afrgb(86 153 175)hsl(195 36% 51%)oklch(64.7% 0.076 221.4)4.49 AA 大字體
白color7#ede0cergb(237 224 206)hsl(35 46% 87%)oklch(91.2% 0.028 76.2)11.04 AAA
亮黑color8#2b2a27rgb(43 42 39)hsl(45 5% 16%)oklch(28.5% 0.006 91.6)1.00 低於 AA
亮紅color9#ff5d38rgb(255 93 56)hsl(11 100% 61%)oklch(68.8% 0.204 34.2)4.70 AA
亮綠color10#98be65rgb(152 190 101)hsl(86 41% 57%)oklch(75.4% 0.124 128.1)6.76 AA
亮黃color11#e6f972rgb(230 249 114)hsl(68 92% 71%)oklch(94.2% 0.160 116.2)12.41 AAA
亮藍color12#51afefrgb(81 175 239)hsl(204 83% 63%)oklch(72.4% 0.129 241.5)5.97 AA
亮洋紅color13#c678ddrgb(198 120 221)hsl(286 60% 67%)oklch(69.4% 0.164 318.2)4.87 AA
亮青color14#46d9ffrgb(70 217 255)hsl(192 100% 64%)oklch(82.4% 0.131 219.1)8.63 AAA
亮白color15#dfdfdfrgb(223 223 223)hsl(0 0% 87%)oklch(90.4% 0.000 0)10.77 AAA

關於 Doom Peacock

Doom Peacock 採用中性色調的深色背景(#2b2a27),預設前景色為 #ede0ce。正文的 WCAG 對比度為 11.04:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.10:1,最低 2.77:1。

色板整體色彩飽和度適中,其中紅色為 #cb4b16、綠色為 #26a6a6、藍色為 #2a6cc6、洋紅為 #a9a1e1。

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

與 Doom Peacock 相似的配色

資料來源:iTerm2 Color Schemes (MIT)