跳到正文

White Sands

White Sands 是一套浅色终端配色(暖色),背景色 #f4efe4,文字色 #283b54,对比度 9.9:1

获取配置
背景色
#f4efe4
前景色
#283b54
文字对比度
9.93:1AAA
强调色对比度
4.96:1最低 4.61
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
❯

White Sands 的配置文件

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

White Sands

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

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

palette = 0=#34445a
palette = 1=#9b493f
palette = 2=#46734f
palette = 3=#7a641f
palette = 4=#315d86
palette = 5=#73568f
palette = 6=#33747b
palette = 7=#46515c
palette = 8=#596678
palette = 9=#a35448
palette = 10=#4b7553
palette = 11=#7a6625
palette = 12=#426e9e
palette = 13=#7b6095
palette = 14=#376f75
palette = 15=#1f2c3c
background = #f4efe4
foreground = #283b54
cursor-color = #d87859
cursor-text = #f4efe4
selection-background = #d9e4e8
selection-foreground = #172c45

White Sands 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#f4efe4rgb(244 239 228)hsl(41 42% 93%)oklch(95.3% 0.016 86.4)—
前景色foreground#283b54rgb(40 59 84)hsl(214 35% 24%)oklch(34.8% 0.050 255.6)9.93 AAA
光标cursor#d87859rgb(216 120 89)hsl(15 62% 60%)oklch(67.3% 0.128 38.6)2.71 低于 AA
光标文字cursorText#f4efe4rgb(244 239 228)hsl(41 42% 93%)oklch(95.3% 0.016 86.4)1.00 低于 AA
选区selection#d9e4e8rgb(217 228 232)hsl(196 25% 88%)oklch(91.2% 0.013 221.4)1.13 低于 AA
选区文字selectionText#172c45rgb(23 44 69)hsl(213 50% 18%)oklch(28.9% 0.053 253.8)12.35 AAA
黑color0#34445argb(52 68 90)hsl(215 27% 28%)oklch(38.2% 0.043 256.5)8.64 AAA
红color1#9b493frgb(155 73 63)hsl(7 42% 43%)oklch(50.7% 0.112 28.7)5.36 AA
绿color2#46734frgb(70 115 79)hsl(132 24% 36%)oklch(51.2% 0.076 149.5)4.79 AA
黄color3#7a641frgb(122 100 31)hsl(45 59% 30%)oklch(51.2% 0.090 90.8)4.99 AA
蓝color4#315d86rgb(49 93 134)hsl(209 46% 36%)oklch(46.6% 0.083 248.5)6.02 AA
品红color5#73568frgb(115 86 143)hsl(271 25% 45%)oklch(50.7% 0.094 306.7)5.30 AA
青color6#33747brgb(51 116 123)hsl(186 41% 34%)oklch(52.0% 0.067 204.9)4.67 AA
白color7#46515crgb(70 81 92)hsl(210 14% 32%)oklch(42.9% 0.023 248.4)7.07 AAA
亮黑color8#596678rgb(89 102 120)hsl(215 15% 41%)oklch(50.6% 0.033 256.6)5.09 AA
亮红color9#a35448rgb(163 84 72)hsl(8 39% 46%)oklch(53.8% 0.107 30.0)4.67 AA
亮绿color10#4b7553rgb(75 117 83)hsl(131 22% 38%)oklch(52.2% 0.071 149.4)4.61 AA
亮黄color11#7a6625rgb(122 102 37)hsl(46 53% 31%)oklch(51.7% 0.087 91.8)4.88 AA
亮蓝color12#426e9ergb(66 110 158)hsl(211 41% 44%)oklch(52.8% 0.091 251.8)4.63 AA
亮品红color13#7b6095rgb(123 96 149)hsl(271 22% 48%)oklch(53.7% 0.086 307.1)4.64 AA
亮青color14#376f75rgb(55 111 117)hsl(186 36% 34%)oklch(50.6% 0.060 204.6)4.96 AA
亮白color15#1f2c3crgb(31 44 60)hsl(213 32% 18%)oklch(28.9% 0.034 254.0)12.34 AAA

关于 White Sands

White Sands 采用暖色调的浅色背景(#f4efe4),默认前景色为 #283b54。正文的 WCAG 对比度为 9.93:1(AAA),12 种 ANSI 彩色槽位平均对比度 4.96:1,最低 4.61:1。

色板整体色彩饱和度适中,其中红色为 #9b493f、绿色为 #46734f、蓝色为 #315d86、品红为 #73568f。

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

与 White Sands 相似的配色

数据来源:iTerm2 Color Schemes (MIT)