跳到正文

Zenburn

Zenburn 是一套深色终端配色(低饱和),背景色 #3f3f3f,文字色 #dcdccc,对比度 7.6:1

获取配置
背景色
#3f3f3f
前景色
#dcdccc
文字对比度
7.60:1AAA
强调色对比度
5.04:1最低 1.48
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
❯

Zenburn 的配置文件

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

Zenburn

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

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

palette = 0=#4d4d4d
palette = 1=#705050
palette = 2=#60b48a
palette = 3=#f0dfaf
palette = 4=#506070
palette = 5=#dc8cc3
palette = 6=#8cd0d3
palette = 7=#dcdccc
palette = 8=#709080
palette = 9=#dca3a3
palette = 10=#c3bf9f
palette = 11=#e0cf9f
palette = 12=#94bff3
palette = 13=#ec93d3
palette = 14=#93e0e3
palette = 15=#ffffff
background = #3f3f3f
foreground = #dcdccc
cursor-color = #73635a
cursor-text = #000000
selection-background = #21322f
selection-foreground = #c2d87a

Zenburn 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#3f3f3frgb(63 63 63)hsl(0 0% 25%)oklch(36.8% 0.000 0)—
前景色foreground#dcdcccrgb(220 220 204)hsl(60 19% 83%)oklch(89.0% 0.021 106.8)7.60 AAA
光标cursor#73635argb(115 99 90)hsl(22 12% 40%)oklch(51.2% 0.025 51.2)1.84 低于 AA
光标文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.99 低于 AA
选区selection#21322frgb(33 50 47)hsl(169 20% 16%)oklch(30.1% 0.023 182.6)1.28 低于 AA
选区文字selectionText#c2d87argb(194 216 122)hsl(74 55% 66%)oklch(84.5% 0.122 119.9)6.72 AA
黑color0#4d4d4drgb(77 77 77)hsl(0 0% 30%)oklch(42.0% 0.000 0)1.25 低于 AA
红color1#705050rgb(112 80 80)hsl(0 17% 38%)oklch(46.6% 0.043 18.8)1.48 低于 AA
绿color2#60b48argb(96 180 138)hsl(150 36% 54%)oklch(70.5% 0.104 160.3)4.21 AA 大字号
黄color3#f0dfafrgb(240 223 175)hsl(44 68% 81%)oklch(90.6% 0.065 90.9)7.96 AAA
蓝color4#506070rgb(80 96 112)hsl(210 17% 38%)oklch(48.2% 0.033 248.5)1.63 低于 AA
品红color5#dc8cc3rgb(220 140 195)hsl(319 53% 71%)oklch(73.9% 0.119 339.3)4.30 AA 大字号
青color6#8cd0d3rgb(140 208 211)hsl(183 45% 69%)oklch(81.3% 0.069 199.4)6.06 AA
白color7#dcdcccrgb(220 220 204)hsl(60 19% 83%)oklch(89.0% 0.021 106.8)7.60 AAA
亮黑color8#709080rgb(112 144 128)hsl(150 13% 50%)oklch(62.4% 0.043 163.2)3.00 AA 大字号
亮红color9#dca3a3rgb(220 163 163)hsl(0 45% 75%)oklch(76.9% 0.068 18.7)4.92 AA
亮绿color10#c3bf9frgb(195 191 159)hsl(53 23% 69%)oklch(79.9% 0.044 101.4)5.65 AA
亮黄color11#e0cf9frgb(224 207 159)hsl(44 51% 75%)oklch(85.7% 0.066 90.9)6.82 AA
亮蓝color12#94bff3rgb(148 191 243)hsl(213 80% 77%)oklch(79.3% 0.088 253.6)5.52 AA
亮品红color13#ec93d3rgb(236 147 211)hsl(317 70% 75%)oklch(77.4% 0.133 338.0)4.85 AA
亮青color14#93e0e3rgb(147 224 227)hsl(182 59% 73%)oklch(85.8% 0.076 199.0)7.03 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)10.53 AAA

关于 Zenburn

Zenburn 采用中性色调的深色背景(#3f3f3f),默认前景色为 #dcdccc。正文的 WCAG 对比度为 7.60:1(AAA),12 种 ANSI 彩色槽位平均对比度 5.04:1,最低 1.48:1。

色板整体色彩饱和度偏低,其中红色为 #705050、绿色为 #60b48a、蓝色为 #506070、品红为 #dc8cc3。该配色归属 Zenburn 主题系列。

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

与 Zenburn 相似的配色

数据来源:iTerm2 Color Schemes (MIT)