跳到正文

Sugarplum

Sugarplum 是一套深色终端配色(柔和、冷色),背景色 #111147,文字色 #db7ddd,对比度 6.7:1

获取配置
背景色
#111147
前景色
#db7ddd
文字对比度
6.69:1AA
强调色对比度
9.59:1最低 5.05
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
❯

Sugarplum 的配置文件

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

Sugarplum

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

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

palette = 0=#111147
palette = 1=#5ca8dc
palette = 2=#53b397
palette = 3=#249a84
palette = 4=#db7ddd
palette = 5=#d0beee
palette = 6=#f9f3f9
palette = 7=#a175d4
palette = 8=#111147
palette = 9=#5cb5dc
palette = 10=#52deb5
palette = 11=#01f5c7
palette = 12=#fa5dfd
palette = 13=#c6a5fd
palette = 14=#ffffff
palette = 15=#b577fd
background = #111147
foreground = #db7ddd
cursor-color = #53b397
cursor-text = #53b397
selection-background = #5ca8dc
selection-foreground = #d0beee

Sugarplum 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#111147rgb(17 17 71)hsl(240 61% 17%)oklch(22.2% 0.098 275.0)—
前景色foreground#db7dddrgb(219 125 221)hsl(299 59% 68%)oklch(72.5% 0.167 326.4)6.69 AA
光标cursor#53b397rgb(83 179 151)hsl(163 39% 51%)oklch(70.1% 0.101 171.6)6.91 AA
光标文字cursorText#53b397rgb(83 179 151)hsl(163 39% 51%)oklch(70.1% 0.101 171.6)6.91 AA
选区selection#5ca8dcrgb(92 168 220)hsl(204 65% 61%)oklch(70.4% 0.108 240.5)6.77 AA
选区文字selectionText#d0beeergb(208 190 238)hsl(263 59% 84%)oklch(83.2% 0.069 302.0)10.28 AAA
黑color0#111147rgb(17 17 71)hsl(240 61% 17%)oklch(22.2% 0.098 275.0)1.00 低于 AA
红color1#5ca8dcrgb(92 168 220)hsl(204 65% 61%)oklch(70.4% 0.108 240.5)6.77 AA
绿color2#53b397rgb(83 179 151)hsl(163 39% 51%)oklch(70.1% 0.101 171.6)6.91 AA
黄color3#249a84rgb(36 154 132)hsl(169 62% 37%)oklch(61.8% 0.106 176.8)5.05 AA
蓝color4#db7dddrgb(219 125 221)hsl(299 59% 68%)oklch(72.5% 0.167 326.4)6.69 AA
品红color5#d0beeergb(208 190 238)hsl(263 59% 84%)oklch(83.2% 0.069 302.0)10.28 AAA
青color6#f9f3f9rgb(249 243 249)hsl(300 33% 96%)oklch(97.0% 0.010 325.7)16.08 AAA
白color7#a175d4rgb(161 117 212)hsl(268 52% 65%)oklch(64.5% 0.144 304.0)5.03 AA
亮黑color8#111147rgb(17 17 71)hsl(240 61% 17%)oklch(22.2% 0.098 275.0)1.00 低于 AA
亮红color9#5cb5dcrgb(92 181 220)hsl(198 65% 61%)oklch(73.3% 0.102 229.0)7.61 AAA
亮绿color10#52deb5rgb(82 222 181)hsl(162 68% 60%)oklch(81.4% 0.135 170.1)10.44 AAA
亮黄color11#01f5c7rgb(1 245 199)hsl(169 99% 48%)oklch(86.5% 0.167 172.5)12.46 AAA
亮蓝color12#fa5dfdrgb(250 93 253)hsl(299 98% 68%)oklch(74.0% 0.258 327.0)6.74 AA
亮品红color13#c6a5fdrgb(198 165 253)hsl(263 96% 82%)oklch(78.4% 0.127 300.8)8.54 AAA
亮青color14#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.57 AAA
亮白color15#b577fdrgb(181 119 253)hsl(268 97% 73%)oklch(69.1% 0.195 303.0)5.88 AA

关于 Sugarplum

Sugarplum 采用冷色调的深色背景(#111147),默认前景色为 #db7ddd。正文的 WCAG 对比度为 6.69:1(AA),12 种 ANSI 彩色槽位平均对比度 9.59:1,最低 5.05:1。

色板整体色彩饱和度适中,其中红色为 #5ca8dc、绿色为 #53b397、蓝色为 #db7ddd、品红为 #d0beee。

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

与 Sugarplum 相似的配色

数据来源:iTerm2 Color Schemes (MIT)