跳到正文

Driftwood

Driftwood 是一套深色终端配色(低饱和),背景色 #2a2622,文字色 #e6ddd0,对比度 11.2:1

获取配置
背景色
#2a2622
前景色
#e6ddd0
文字对比度
11.17:1AAA
强调色对比度
7.39:1最低 5.07
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
❯

Driftwood 的配置文件

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

Driftwood

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

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

palette = 0=#211d19
palette = 1=#e77467
palette = 2=#aab971
palette = 3=#e1b869
palette = 4=#78b3b5
palette = 5=#c9a0bd
palette = 6=#a5c4b1
palette = 7=#c2b7a6
palette = 8=#9a8e7c
palette = 9=#f38f7e
palette = 10=#becc8a
palette = 11=#e39962
palette = 12=#92c6c7
palette = 13=#dab6d1
palette = 14=#bbd6c3
palette = 15=#f2eadb
background = #2a2622
foreground = #e6ddd0
cursor-color = #dfb666
cursor-text = #2a2622
selection-background = #39332b
selection-foreground = #5d5955

Driftwood 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#2a2622rgb(42 38 34)hsl(30 11% 15%)oklch(27.2% 0.009 67.4)—
前景色foreground#e6ddd0rgb(230 221 208)hsl(35 31% 86%)oklch(90.1% 0.020 77.3)11.17 AAA
光标cursor#dfb666rgb(223 182 102)hsl(40 65% 64%)oklch(79.6% 0.110 82.7)7.88 AAA
光标文字cursorText#2a2622rgb(42 38 34)hsl(30 11% 15%)oklch(27.2% 0.009 67.4)1.00 低于 AA
选区selection#39332brgb(57 51 43)hsl(34 14% 20%)oklch(32.5% 0.016 75.1)1.20 低于 AA
选区文字selectionText#5d5955rgb(93 89 85)hsl(30 4% 35%)oklch(46.6% 0.008 67.6)2.16 低于 AA
黑color0#211d19rgb(33 29 25)hsl(30 14% 11%)oklch(23.4% 0.010 67.3)1.12 低于 AA
红color1#e77467rgb(231 116 103)hsl(6 73% 65%)oklch(68.9% 0.145 28.0)5.07 AA
绿color2#aab971rgb(170 185 113)hsl(73 34% 58%)oklch(75.7% 0.097 118.4)7.07 AAA
黄color3#e1b869rgb(225 184 105)hsl(40 67% 65%)oklch(80.3% 0.109 82.5)8.05 AAA
蓝color4#78b3b5rgb(120 179 181)hsl(182 29% 59%)oklch(72.7% 0.061 198.6)6.37 AA
品红color5#c9a0bdrgb(201 160 189)hsl(318 28% 71%)oklch(75.2% 0.062 337.0)6.61 AA
青color6#a5c4b1rgb(165 196 177)hsl(143 21% 71%)oklch(79.2% 0.043 158.4)7.96 AAA
白color7#c2b7a6rgb(194 183 166)hsl(36 19% 71%)oklch(78.4% 0.027 78.9)7.59 AAA
亮黑color8#9a8e7crgb(154 142 124)hsl(36 13% 55%)oklch(65.2% 0.030 78.1)4.67 AA
亮红color9#f38f7ergb(243 143 126)hsl(9 83% 72%)oklch(75.2% 0.125 30.5)6.46 AA
亮绿color10#becc8argb(190 204 138)hsl(73 39% 67%)oklch(81.9% 0.089 118.1)8.72 AAA
亮黄color11#e39962rgb(227 153 98)hsl(26 70% 64%)oklch(74.5% 0.114 56.5)6.43 AA
亮蓝color12#92c6c7rgb(146 198 199)hsl(181 32% 68%)oklch(79.1% 0.054 197.6)7.95 AAA
亮品红color13#dab6d1rgb(218 182 209)hsl(315 33% 78%)oklch(81.6% 0.055 335.0)8.29 AAA
亮青color14#bbd6c3rgb(187 214 195)hsl(138 25% 79%)oklch(85.1% 0.039 154.8)9.67 AAA
亮白color15#f2eadbrgb(242 234 219)hsl(39 47% 90%)oklch(93.9% 0.022 83.3)12.56 AAA

关于 Driftwood

Driftwood 采用中性色调的深色背景(#2a2622),默认前景色为 #e6ddd0。正文的 WCAG 对比度为 11.17:1(AAA),12 种 ANSI 彩色槽位平均对比度 7.39:1,最低 5.07:1。

色板整体色彩饱和度偏低,其中红色为 #e77467、绿色为 #aab971、蓝色为 #78b3b5、品红为 #c9a0bd。

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

与 Driftwood 相似的配色

数据来源:iTerm2 Color Schemes (MIT)