跳到正文

Sandcastle

Sandcastle 是一套深色终端配色(柔和、低饱和),背景色 #282c34,文字色 #a89984,对比度 5.0:1

获取配置
背景色
#282c34
前景色
#a89984
文字对比度
5.04:1AA
强调色对比度
4.45:1最低 3.62
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
❯

Sandcastle 的配置文件

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

Sandcastle

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

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

palette = 0=#282c34
palette = 1=#83a598
palette = 2=#528b8b
palette = 3=#a07e3b
palette = 4=#83a598
palette = 5=#d75f5f
palette = 6=#83a598
palette = 7=#a89984
palette = 8=#665c54
palette = 9=#83a598
palette = 10=#528b8b
palette = 11=#a07e3b
palette = 12=#83a598
palette = 13=#d75f5f
palette = 14=#83a598
palette = 15=#fdf4c1
background = #282c34
foreground = #a89984
cursor-color = #a89984
cursor-text = #282c34
selection-background = #454547
selection-foreground = #a89984

Sandcastle 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#282c34rgb(40 44 52)hsl(220 13% 18%)oklch(29.3% 0.016 264.3)—
前景色foreground#a89984rgb(168 153 132)hsl(35 17% 59%)oklch(69.0% 0.035 76.3)5.04 AA
光标cursor#a89984rgb(168 153 132)hsl(35 17% 59%)oklch(69.0% 0.035 76.3)5.04 AA
光标文字cursorText#282c34rgb(40 44 52)hsl(220 13% 18%)oklch(29.3% 0.016 264.3)1.00 低于 AA
选区selection#454547rgb(69 69 71)hsl(240 1% 27%)oklch(39.1% 0.003 286.2)1.46 低于 AA
选区文字selectionText#a89984rgb(168 153 132)hsl(35 17% 59%)oklch(69.0% 0.035 76.3)5.04 AA
黑color0#282c34rgb(40 44 52)hsl(220 13% 18%)oklch(29.3% 0.016 264.3)1.00 低于 AA
红color1#83a598rgb(131 165 152)hsl(157 16% 58%)oklch(69.3% 0.042 169.8)5.20 AA
绿color2#528b8brgb(82 139 139)hsl(180 26% 43%)oklch(59.8% 0.060 195.7)3.62 AA 大字号
黄color3#a07e3brgb(160 126 59)hsl(40 46% 43%)oklch(61.2% 0.095 82.3)3.69 AA 大字号
蓝color4#83a598rgb(131 165 152)hsl(157 16% 58%)oklch(69.3% 0.042 169.8)5.20 AA
品红color5#d75f5frgb(215 95 95)hsl(0 60% 61%)oklch(63.5% 0.152 22.4)3.79 AA 大字号
青color6#83a598rgb(131 165 152)hsl(157 16% 58%)oklch(69.3% 0.042 169.8)5.20 AA
白color7#a89984rgb(168 153 132)hsl(35 17% 59%)oklch(69.0% 0.035 76.3)5.04 AA
亮黑color8#665c54rgb(102 92 84)hsl(27 10% 36%)oklch(48.2% 0.018 61.0)2.15 低于 AA
亮红color9#83a598rgb(131 165 152)hsl(157 16% 58%)oklch(69.3% 0.042 169.8)5.20 AA
亮绿color10#528b8brgb(82 139 139)hsl(180 26% 43%)oklch(59.8% 0.060 195.7)3.62 AA 大字号
亮黄color11#a07e3brgb(160 126 59)hsl(40 46% 43%)oklch(61.2% 0.095 82.3)3.69 AA 大字号
亮蓝color12#83a598rgb(131 165 152)hsl(157 16% 58%)oklch(69.3% 0.042 169.8)5.20 AA
亮品红color13#d75f5frgb(215 95 95)hsl(0 60% 61%)oklch(63.5% 0.152 22.4)3.79 AA 大字号
亮青color14#83a598rgb(131 165 152)hsl(157 16% 58%)oklch(69.3% 0.042 169.8)5.20 AA
亮白color15#fdf4c1rgb(253 244 193)hsl(51 94% 87%)oklch(96.2% 0.066 99.2)12.59 AAA

关于 Sandcastle

Sandcastle 采用冷色调的深色背景(#282c34),默认前景色为 #a89984。正文的 WCAG 对比度为 5.04:1(AA),12 种 ANSI 彩色槽位平均对比度 4.45:1,最低 3.62:1。

色板整体色彩饱和度偏低,其中红色为 #83a598、绿色为 #528b8b、蓝色为 #83a598、品红为 #d75f5f。

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

与 Sandcastle 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)