跳到正文

Lunar Dust

Lunar Dust 是一套浅色终端配色,背景色 #f3f1ed,文字色 #20242b,对比度 13.8:1

获取配置
背景色
#f3f1ed
前景色
#20242b
文字对比度
13.80:1AAA
强调色对比度
7.71:1最低 6.45
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
❯

Lunar Dust 的配置文件

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

Lunar Dust

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

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

palette = 0=#30343b
palette = 1=#842626
palette = 2=#165a38
palette = 3=#654d00
palette = 4=#17458a
palette = 5=#603286
palette = 6=#005765
palette = 7=#40444b
palette = 8=#4b4f56
palette = 9=#902b2b
palette = 10=#1a603e
palette = 11=#6d5300
palette = 12=#123a78
palette = 13=#67398e
palette = 14=#004a57
palette = 15=#484c53
background = #f3f1ed
foreground = #20242b
cursor-color = #48515e
cursor-text = #f3f1ed
selection-background = #d9d6d0
selection-foreground = #20242b

Lunar Dust 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#f3f1edrgb(243 241 237)hsl(40 20% 94%)oklch(95.9% 0.006 84.6)—
前景色foreground#20242brgb(32 36 43)hsl(218 15% 15%)oklch(25.9% 0.014 261.7)13.80 AAA
光标cursor#48515ergb(72 81 94)hsl(215 13% 33%)oklch(43.2% 0.024 257.5)7.12 AAA
光标文字cursorText#f3f1edrgb(243 241 237)hsl(40 20% 94%)oklch(95.9% 0.006 84.6)1.00 低于 AA
选区selection#d9d6d0rgb(217 214 208)hsl(40 11% 83%)oklch(87.7% 0.009 84.6)1.29 低于 AA
选区文字selectionText#20242brgb(32 36 43)hsl(218 15% 15%)oklch(25.9% 0.014 261.7)13.80 AAA
黑color0#30343brgb(48 52 59)hsl(218 10% 21%)oklch(32.4% 0.014 261.7)11.08 AAA
红color1#842626rgb(132 38 38)hsl(0 55% 33%)oklch(41.6% 0.129 24.7)8.14 AAA
绿color2#165a38rgb(22 90 56)hsl(150 61% 22%)oklch(41.6% 0.088 156.8)7.29 AAA
黄color3#654d00rgb(101 77 0)hsl(46 100% 20%)oklch(43.3% 0.089 87.9)7.12 AAA
蓝color4#17458argb(23 69 138)hsl(216 71% 32%)oklch(40.1% 0.125 258.8)8.26 AAA
品红color5#603286rgb(96 50 134)hsl(273 46% 36%)oklch(41.8% 0.138 306.6)8.10 AAA
青color6#005765rgb(0 87 101)hsl(188 100% 20%)oklch(42.0% 0.074 213.3)7.30 AAA
白color7#40444brgb(64 68 75)hsl(218 8% 27%)oklch(38.6% 0.013 261.7)8.67 AAA
亮黑color8#4b4f56rgb(75 79 86)hsl(218 7% 32%)oklch(42.7% 0.013 261.8)7.29 AAA
亮红color9#902b2brgb(144 43 43)hsl(0 54% 37%)oklch(44.4% 0.136 24.6)7.25 AAA
亮绿color10#1a603ergb(26 96 62)hsl(151 57% 24%)oklch(43.7% 0.089 157.8)6.68 AA
亮黄color11#6d5300rgb(109 83 0)hsl(46 100% 21%)oklch(45.7% 0.093 87.6)6.45 AA
亮蓝color12#123a78rgb(18 58 120)hsl(216 74% 27%)oklch(36.0% 0.115 259.3)9.79 AAA
亮品红color13#67398ergb(103 57 142)hsl(272 43% 39%)oklch(44.2% 0.139 306.5)7.29 AAA
亮青color14#004a57rgb(0 74 87)hsl(189 100% 17%)oklch(37.6% 0.066 214.5)8.79 AAA
亮白color15#484c53rgb(72 76 83)hsl(218 7% 30%)oklch(41.5% 0.013 261.8)7.65 AAA

关于 Lunar Dust

Lunar Dust 采用中性色调的浅色背景(#f3f1ed),默认前景色为 #20242b。正文的 WCAG 对比度为 13.80:1(AAA),12 种 ANSI 彩色槽位平均对比度 7.71:1,最低 6.45:1。

色板整体色彩饱和度适中,其中红色为 #842626、绿色为 #165a38、蓝色为 #17458a、品红为 #603286。

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

与 Lunar Dust 相似的配色

数据来源:iTerm2 Color Schemes (MIT)