跳到正文

Duckbones

Duckbones 是一套深色终端配色(冷色),背景色 #0e101a,文字色 #ebefc0,对比度 15.9:1

获取配置
背景色
#0e101a
前景色
#ebefc0
文字对比度
15.92:1AAA
强调色对比度
7.29:1最低 3.81
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
❯

Duckbones 的配置文件

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

Duckbones

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

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

palette = 0=#0e101a
palette = 1=#e03600
palette = 2=#5dcd97
palette = 3=#e39500
palette = 4=#00a3cb
palette = 5=#795ccc
palette = 6=#00a3cb
palette = 7=#ebefc0
palette = 8=#2b2f46
palette = 9=#ff4821
palette = 10=#58db9e
palette = 11=#f6a100
palette = 12=#00b4e0
palette = 13=#b3a1e6
palette = 14=#00b4e0
palette = 15=#b3b692
background = #0e101a
foreground = #ebefc0
cursor-color = #edf2c2
cursor-text = #0e101a
selection-background = #37382d
selection-foreground = #ebefc0

Duckbones 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#0e101argb(14 16 26)hsl(230 30% 8%)oklch(17.6% 0.021 275.3)—
前景色foreground#ebefc0rgb(235 239 192)hsl(65 59% 85%)oklch(93.7% 0.061 111.5)15.92 AAA
光标cursor#edf2c2rgb(237 242 194)hsl(66 65% 85%)oklch(94.5% 0.063 112.4)16.32 AAA
光标文字cursorText#0e101argb(14 16 26)hsl(230 30% 8%)oklch(17.6% 0.021 275.3)1.00 低于 AA
选区selection#37382drgb(55 56 45)hsl(65 11% 20%)oklch(33.6% 0.019 111.6)1.59 低于 AA
选区文字selectionText#ebefc0rgb(235 239 192)hsl(65 59% 85%)oklch(93.7% 0.061 111.5)15.92 AAA
黑color0#0e101argb(14 16 26)hsl(230 30% 8%)oklch(17.6% 0.021 275.3)1.00 低于 AA
红color1#e03600rgb(224 54 0)hsl(14 100% 44%)oklch(59.4% 0.212 34.3)4.24 AA 大字号
绿color2#5dcd97rgb(93 205 151)hsl(151 53% 58%)oklch(76.9% 0.130 160.0)9.61 AAA
黄color3#e39500rgb(227 149 0)hsl(39 100% 45%)oklch(73.1% 0.156 72.2)7.73 AAA
蓝color4#00a3cbrgb(0 163 203)hsl(192 100% 40%)oklch(66.4% 0.124 223.4)6.41 AA
品红color5#795cccrgb(121 92 204)hsl(256 52% 58%)oklch(56.0% 0.167 292.1)3.81 AA 大字号
青color6#00a3cbrgb(0 163 203)hsl(192 100% 40%)oklch(66.4% 0.124 223.4)6.41 AA
白color7#ebefc0rgb(235 239 192)hsl(65 59% 85%)oklch(93.7% 0.061 111.5)15.92 AAA
亮黑color8#2b2f46rgb(43 47 70)hsl(231 24% 22%)oklch(31.2% 0.042 276.1)1.44 低于 AA
亮红color9#ff4821rgb(255 72 33)hsl(11 100% 56%)oklch(66.4% 0.225 33.3)5.60 AA
亮绿color10#58db9ergb(88 219 158)hsl(152 65% 60%)oklch(80.3% 0.146 160.1)10.87 AAA
亮黄color11#f6a100rgb(246 161 0)hsl(39 100% 48%)oklch(77.5% 0.166 71.7)9.04 AAA
亮蓝color12#00b4e0rgb(0 180 224)hsl(192 100% 44%)oklch(71.5% 0.134 223.5)7.77 AAA
亮品红color13#b3a1e6rgb(179 161 230)hsl(256 58% 77%)oklch(75.0% 0.099 295.9)8.27 AAA
亮青color14#00b4e0rgb(0 180 224)hsl(192 100% 44%)oklch(71.5% 0.134 223.5)7.77 AAA
亮白color15#b3b692rgb(179 182 146)hsl(65 20% 64%)oklch(76.4% 0.049 111.4)9.05 AAA

关于 Duckbones

Duckbones 采用冷色调的深色背景(#0e101a),默认前景色为 #ebefc0。正文的 WCAG 对比度为 15.92:1(AAA),12 种 ANSI 彩色槽位平均对比度 7.29:1,最低 3.81:1。

色板整体色彩饱和度适中,其中红色为 #e03600、绿色为 #5dcd97、蓝色为 #00a3cb、品红为 #795ccc。该配色归属 Zenbones 主题系列。

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

与 Duckbones 相似的配色

数据来源:iTerm2 Color Schemes (MIT)