跳到正文

Spearmint

Spearmint 是一套深色终端配色(柔和、单色),背景色 #415654,文字色 #c9dbd9,对比度 5.5:1

获取配置
背景色
#415654
前景色
#c9dbd9
文字对比度
5.45:1AA
强调色对比度
3.45:1最低 1.19
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
❯

Spearmint 的配置文件

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

Spearmint

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

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

palette = 0=#4c6462
palette = 1=#ba0e2e
palette = 2=#69adb5
palette = 3=#25808a
palette = 4=#4cd7e0
palette = 5=#69adb5
palette = 6=#199fa8
palette = 7=#d8e5e4
palette = 8=#62827f
palette = 9=#e61f44
palette = 10=#add2d7
palette = 11=#47c0ce
palette = 12=#a3eaef
palette = 13=#add2d7
palette = 14=#44d9e3
palette = 15=#f7faf9
background = #415654
foreground = #c9dbd9
cursor-color = #ffffff
cursor-text = #c9dbd9
selection-background = #25808a
selection-foreground = #ffffff

Spearmint 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#415654rgb(65 86 84)hsl(174 14% 30%)oklch(43.5% 0.026 189.0)—
前景色foreground#c9dbd9rgb(201 219 217)hsl(173 20% 82%)oklch(87.7% 0.019 188.8)5.45 AA
光标cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)7.82 AAA
光标文字cursorText#c9dbd9rgb(201 219 217)hsl(173 20% 82%)oklch(87.7% 0.019 188.8)5.45 AA
选区selection#25808argb(37 128 138)hsl(186 58% 34%)oklch(55.2% 0.083 205.8)1.69 低于 AA
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)7.82 AAA
黑color0#4c6462rgb(76 100 98)hsl(175 14% 35%)oklch(48.3% 0.029 189.9)1.23 低于 AA
红color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)1.19 低于 AA
绿color2#69adb5rgb(105 173 181)hsl(186 34% 56%)oklch(70.5% 0.070 205.3)3.07 AA 大字号
黄color3#25808argb(37 128 138)hsl(186 58% 34%)oklch(55.2% 0.083 205.8)1.69 低于 AA
蓝color4#4cd7e0rgb(76 215 224)hsl(184 70% 59%)oklch(80.9% 0.118 201.3)4.51 AA
品红color5#69adb5rgb(105 173 181)hsl(186 34% 56%)oklch(70.5% 0.070 205.3)3.07 AA 大字号
青color6#199fa8rgb(25 159 168)hsl(184 74% 38%)oklch(64.2% 0.105 202.3)2.45 低于 AA
白color7#d8e5e4rgb(216 229 228)hsl(175 20% 87%)oklch(91.2% 0.014 191.4)6.05 AA
亮黑color8#62827frgb(98 130 127)hsl(174 14% 45%)oklch(58.1% 0.037 189.1)1.87 低于 AA
亮红color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)1.73 低于 AA
亮绿color10#add2d7rgb(173 210 215)hsl(187 34% 76%)oklch(83.9% 0.040 206.5)4.84 AA
亮黄color11#47c0cergb(71 192 206)hsl(186 58% 54%)oklch(74.7% 0.107 206.0)3.61 AA 大字号
亮蓝color12#a3eaefrgb(163 234 239)hsl(184 70% 79%)oklch(89.2% 0.071 201.5)5.80 AA
亮品红color13#add2d7rgb(173 210 215)hsl(187 34% 76%)oklch(83.9% 0.040 206.5)4.84 AA
亮青color14#44d9e3rgb(68 217 227)hsl(184 74% 58%)oklch(81.3% 0.122 201.6)4.58 AA
亮白color15#f7faf9rgb(247 250 249)hsl(160 23% 97%)oklch(98.3% 0.003 174.5)7.45 AAA

关于 Spearmint

Spearmint 采用冷色调的深色背景(#415654),默认前景色为 #c9dbd9。正文的 WCAG 对比度为 5.45:1(AA),12 种 ANSI 彩色槽位平均对比度 3.45:1,最低 1.19:1。

色板整体色彩饱和度适中,其中红色为 #ba0e2e、绿色为 #69adb5、蓝色为 #4cd7e0、品红为 #69adb5。

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

与 Spearmint 相似的配色

数据来源:Rainglow (MIT)