跳到正文

Sauber

Sauber 是一套浅色终端配色(柔和),背景色 #ecffe5,文字色 #1345f6,对比度 6.2:1

获取配置
背景色
#ecffe5
前景色
#1345f6
文字对比度
6.23:1AA
强调色对比度
3.19:1最低 1.77
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
❯

Sauber 的配置文件

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

Sauber

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

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

palette = 0=#14191e
palette = 1=#b43c2a
palette = 2=#00c200
palette = 3=#c7c400
palette = 4=#2744c7
palette = 5=#c040be
palette = 6=#00c5c7
palette = 7=#bababa
palette = 8=#686868
palette = 9=#dd7975
palette = 10=#3fcd76
palette = 11=#c6bb00
palette = 12=#a7abf2
palette = 13=#e17ee1
palette = 14=#048b8f
palette = 15=#a4801c
background = #ecffe5
foreground = #1345f6
cursor-color = #000000
cursor-text = #ffffff
selection-background = #b3d7ff
selection-foreground = #000000

Sauber 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#ecffe5rgb(236 255 229)hsl(104 100% 95%)oklch(97.9% 0.040 137.2)—
前景色foreground#1345f6rgb(19 69 246)hsl(227 93% 52%)oklch(50.1% 0.264 264.6)6.23 AA
光标cursor#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)20.00 AAA
光标文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.05 低于 AA
选区selection#b3d7ffrgb(179 215 255)hsl(212 100% 85%)oklch(86.7% 0.068 251.3)1.42 低于 AA
选区文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)20.00 AAA
黑color0#14191ergb(20 25 30)hsl(210 20% 10%)oklch(21.1% 0.013 248.4)16.84 AAA
红color1#b43c2argb(180 60 42)hsl(8 62% 44%)oklch(52.6% 0.159 31.3)5.52 AA
绿color2#00c200rgb(0 194 0)hsl(120 100% 38%)oklch(70.5% 0.240 142.5)2.29 低于 AA
黄color3#c7c400rgb(199 196 0)hsl(59 100% 39%)oklch(79.7% 0.172 108.6)1.77 低于 AA
蓝color4#2744c7rgb(39 68 199)hsl(229 67% 47%)oklch(45.8% 0.205 267.3)7.31 AAA
品红color5#c040bergb(192 64 190)hsl(301 50% 50%)oklch(59.9% 0.215 328.5)4.24 AA 大字号
青color6#00c5c7rgb(0 197 199)hsl(181 100% 39%)oklch(74.6% 0.127 196.1)2.04 低于 AA
白color7#bababargb(186 186 186)hsl(0 0% 73%)oklch(78.9% 0.000 0)1.85 低于 AA
亮黑color8#686868rgb(104 104 104)hsl(0 0% 41%)oklch(51.7% 0.000 0)5.31 AA
亮红color9#dd7975rgb(221 121 117)hsl(2 60% 66%)oklch(68.7% 0.125 23.3)2.83 低于 AA
亮绿color10#3fcd76rgb(63 205 118)hsl(143 59% 53%)oklch(75.3% 0.173 152.2)1.96 低于 AA
亮黄color11#c6bb00rgb(198 187 0)hsl(57 100% 39%)oklch(77.6% 0.165 105.4)1.90 低于 AA
亮蓝color12#a7abf2rgb(167 171 242)hsl(237 74% 80%)oklch(76.5% 0.101 281.2)2.05 低于 AA
亮品红color13#e17ee1rgb(225 126 225)hsl(300 62% 69%)oklch(73.5% 0.173 327.2)2.42 低于 AA
亮青color14#048b8frgb(4 139 143)hsl(182 95% 29%)oklch(57.8% 0.098 198.4)3.93 AA 大字号
亮白color15#a4801crgb(164 128 28)hsl(44 71% 38%)oklch(61.8% 0.118 87.0)3.52 AA 大字号

关于 Sauber

Sauber 采用中性色调的浅色背景(#ecffe5),默认前景色为 #1345f6。正文的 WCAG 对比度为 6.23:1(AA),12 种 ANSI 彩色槽位平均对比度 3.19:1,最低 1.77:1。

色板整体色彩饱和度适中,其中红色为 #b43c2a、绿色为 #00c200、蓝色为 #2744c7、品红为 #c040be。

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

与 Sauber 相似的配色

数据来源:iTerm2 Color Schemes (MIT)