跳到主要內容

Doom One

Doom One 是一套深色終端機配色(冷色),背景色 #282c34,文字色 #bbc2cf,對比度 7.8:1

取得設定檔
背景色
#282c34
前景色
#bbc2cf
文字對比度
7.82:1AAA
強調色對比度
6.02:1最低 4.75
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 One 的設定檔

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

Doom One

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

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

palette = 0=#000000
palette = 1=#ff6c6b
palette = 2=#98be65
palette = 3=#ecbe7b
palette = 4=#a9a1e1
palette = 5=#c678dd
palette = 6=#51afef
palette = 7=#bbc2cf
palette = 8=#000000
palette = 9=#ff6655
palette = 10=#99bb66
palette = 11=#ecbe7b
palette = 12=#a9a1e1
palette = 13=#c678dd
palette = 14=#51afef
palette = 15=#bfbfbf
background = #282c34
foreground = #bbc2cf
cursor-color = #51afef
cursor-text = #1b1b1b
selection-background = #42444b
selection-foreground = #bbc2cf

Doom One 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#282c34rgb(40 44 52)hsl(220 13% 18%)oklch(29.3% 0.016 264.3)—
前景色foreground#bbc2cfrgb(187 194 207)hsl(219 17% 77%)oklch(81.3% 0.020 263.0)7.82 AAA
游標cursor#51afefrgb(81 175 239)hsl(204 83% 63%)oklch(72.4% 0.129 241.5)5.82 AA
游標文字cursorText#1b1b1brgb(27 27 27)hsl(0 0% 11%)oklch(22.2% 0.000 0)1.23 低於 AA
選取範圍selection#42444brgb(66 68 75)hsl(227 6% 28%)oklch(38.7% 0.012 273.1)1.44 低於 AA
選取文字selectionText#bbc2cfrgb(187 194 207)hsl(219 17% 77%)oklch(81.3% 0.020 263.0)7.82 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.50 低於 AA
紅color1#ff6c6brgb(255 108 107)hsl(0 100% 71%)oklch(71.3% 0.180 23.2)5.07 AA
綠color2#98be65rgb(152 190 101)hsl(86 41% 57%)oklch(75.4% 0.124 128.1)6.59 AA
黃color3#ecbe7brgb(236 190 123)hsl(36 75% 70%)oklch(82.8% 0.100 76.1)8.14 AAA
藍color4#a9a1e1rgb(169 161 225)hsl(248 52% 76%)oklch(73.9% 0.092 289.7)5.91 AA
洋紅color5#c678ddrgb(198 120 221)hsl(286 60% 67%)oklch(69.4% 0.164 318.2)4.75 AA
青color6#51afefrgb(81 175 239)hsl(204 83% 63%)oklch(72.4% 0.129 241.5)5.82 AA
白color7#bbc2cfrgb(187 194 207)hsl(219 17% 77%)oklch(81.3% 0.020 263.0)7.82 AAA
亮黑color8#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.50 低於 AA
亮紅color9#ff6655rgb(255 102 85)hsl(6 100% 67%)oklch(70.2% 0.190 29.1)4.86 AA
亮綠color10#99bb66rgb(153 187 102)hsl(84 38% 57%)oklch(74.7% 0.118 126.9)6.44 AA
亮黃color11#ecbe7brgb(236 190 123)hsl(36 75% 70%)oklch(82.8% 0.100 76.1)8.14 AAA
亮藍color12#a9a1e1rgb(169 161 225)hsl(248 52% 76%)oklch(73.9% 0.092 289.7)5.91 AA
亮洋紅color13#c678ddrgb(198 120 221)hsl(286 60% 67%)oklch(69.4% 0.164 318.2)4.75 AA
亮青color14#51afefrgb(81 175 239)hsl(204 83% 63%)oklch(72.4% 0.129 241.5)5.82 AA
亮白color15#bfbfbfrgb(191 191 191)hsl(0 0% 75%)oklch(80.5% 0.000 0)7.61 AAA

關於 Doom One

Doom One 採用冷色調的深色背景(#282c34),預設前景色為 #bbc2cf。內文的 WCAG 對比度為 7.82:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.02:1,最低 4.75:1。

色票整體色彩彩度適中,其中紅色為 #ff6c6b、綠色為 #98be65、藍色為 #a9a1e1、洋紅為 #c678dd。

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

與 Doom One 相似的配色

資料來源:iTerm2 Color Schemes (MIT)