跳到主要內容

DWM rob

DWM rob 是一套深色終端機配色(純黑、高對比),背景色 #000000,文字色 #ffffff,對比度 21.0:1

取得設定檔
背景色
#000000
前景色
#ffffff
文字對比度
21.00:1AAA
強調色對比度
9.49:1最低 2.74
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
❯

DWM rob 的設定檔

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

DWM rob

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

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

palette = 0=#151515
palette = 1=#bf7979
palette = 2=#97b26b
palette = 3=#cdcda1
palette = 4=#4a5463
palette = 5=#9c3885
palette = 6=#88aadd
palette = 7=#ffffff
palette = 8=#505450
palette = 9=#f4a45f
palette = 10=#c5f779
palette = 11=#ffffaf
palette = 12=#7d8794
palette = 13=#e628ba
palette = 14=#99ccff
palette = 15=#dedede
background = #000000
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #000000
selection-background = #222222
selection-foreground = #ffffff

DWM rob 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
光標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
光標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
選取範圍selection#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)1.32 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
黑color0#151515rgb(21 21 21)hsl(0 0% 8%)oklch(19.6% 0.000 0)1.15 低於 AA
紅color1#bf7979rgb(191 121 121)hsl(0 35% 61%)oklch(65.0% 0.088 19.7)6.23 AA
綠color2#97b26brgb(151 178 107)hsl(83 32% 56%)oklch(72.6% 0.101 125.8)8.90 AAA
黃color3#cdcda1rgb(205 205 161)hsl(60 31% 72%)oklch(83.7% 0.059 107.6)12.84 AAA
藍color4#4a5463rgb(74 84 99)hsl(216 14% 34%)oklch(44.3% 0.028 258.4)2.74 低於 AA
洋紅color5#9c3885rgb(156 56 133)hsl(314 47% 42%)oklch(50.9% 0.160 337.9)3.32 AA 大字體
青color6#88aaddrgb(136 170 221)hsl(216 56% 70%)oklch(73.2% 0.083 258.3)8.84 AAA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
亮黑color8#505450rgb(80 84 80)hsl(120 2% 32%)oklch(44.1% 0.008 145.4)2.73 低於 AA
亮紅color9#f4a45frgb(244 164 95)hsl(28 87% 66%)oklch(78.4% 0.128 60.1)10.32 AAA
亮綠color10#c5f779rgb(197 247 121)hsl(84 89% 72%)oklch(91.5% 0.164 127.3)16.95 AAA
亮黃color11#ffffafrgb(255 255 175)hsl(60 100% 84%)oklch(98.2% 0.100 108.1)20.18 AAA
亮藍color12#7d8794rgb(125 135 148)hsl(214 10% 54%)oklch(62.0% 0.023 255.0)5.77 AA
亮洋紅color13#e628bargb(230 40 186)hsl(314 79% 53%)oklch(63.7% 0.256 340.1)5.38 AA
亮青color14#99ccffrgb(153 204 255)hsl(210 100% 80%)oklch(82.8% 0.090 249.0)12.44 AAA
亮白color15#dededergb(222 222 222)hsl(0 0% 87%)oklch(90.1% 0.000 0)15.61 AAA

關於 DWM rob

DWM rob 採用中性色調的深色背景(#000000),預設前景色為 #ffffff。正文的 WCAG 對比度為 21.00:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.49:1,最低 2.74:1。

色板整體色彩飽和度適中,其中紅色為 #bf7979、綠色為 #97b26b、藍色為 #4a5463、洋紅為 #9c3885。

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

與 DWM rob 相似的配色

資料來源:terminal.sexy (MIT)