跳到主要內容

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/zh-hk/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)