跳到主要內容

Desert Moon

Desert Moon 是一套深色終端機配色(低彩度、粉彩),背景色 #0b3459,文字色 #f2f2e8,對比度 11.3:1

取得設定檔
背景色
#0b3459
前景色
#f2f2e8
文字對比度
11.30:1AAA
強調色對比度
7.20:1最低 5.75
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
❯

Desert Moon 的設定檔

16 種格式,都從同一份色票產生

Desert Moon

存到 ~/.config/ghostty/themes/Desert Moon,再在 config 或 config.ghostty 裡寫 theme = Desert Moon

更多 Ghostty 配色
原始檔
# Theme: Desert Moon (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/desert-moon?format=ghostty

palette = 0=#b9c6cb
palette = 1=#e79b90
palette = 2=#8fc9a3
palette = 3=#e2c979
palette = 4=#8dbfdd
palette = 5=#b9a7d7
palette = 6=#80cdd0
palette = 7=#f2f2e8
palette = 8=#cbd5d8
palette = 9=#efb0a7
palette = 10=#a8d6b6
palette = 11=#ecd995
palette = 12=#a9d0e7
palette = 13=#cabce2
palette = 14=#9bdadd
palette = 15=#fffdf5
background = #0b3459
foreground = #f2f2e8
cursor-color = #d9e3d3
cursor-text = #0b3459
selection-background = #285273
selection-foreground = #fffdf2

Desert Moon 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0b3459rgb(11 52 89)hsl(208 78% 20%)oklch(31.9% 0.079 250.2)—
前景色foreground#f2f2e8rgb(242 242 232)hsl(60 28% 93%)oklch(95.8% 0.013 106.6)11.30 AAA
游標cursor#d9e3d3rgb(217 227 211)hsl(97 22% 86%)oklch(90.4% 0.024 133.5)9.63 AAA
游標文字cursorText#0b3459rgb(11 52 89)hsl(208 78% 20%)oklch(31.9% 0.079 250.2)1.00 低於 AA
選取範圍selection#285273rgb(40 82 115)hsl(206 48% 30%)oklch(42.4% 0.072 244.5)1.54 低於 AA
選取文字selectionText#fffdf2rgb(255 253 242)hsl(51 100% 97%)oklch(99.3% 0.015 98.3)12.48 AAA
黑color0#b9c6cbrgb(185 198 203)hsl(197 15% 76%)oklch(81.8% 0.016 222.7)7.28 AAA
紅color1#e79b90rgb(231 155 144)hsl(8 64% 74%)oklch(76.2% 0.093 28.5)5.75 AA
綠color2#8fc9a3rgb(143 201 163)hsl(141 35% 67%)oklch(78.6% 0.081 155.4)6.70 AA
黃color3#e2c979rgb(226 201 121)hsl(46 64% 68%)oklch(84.0% 0.104 92.6)7.80 AAA
藍color4#8dbfddrgb(141 191 221)hsl(203 54% 71%)oklch(78.0% 0.068 235.1)6.44 AA
洋紅color5#b9a7d7rgb(185 167 215)hsl(263 38% 75%)oklch(76.0% 0.070 301.9)5.80 AA
青color6#80cdd0rgb(128 205 208)hsl(182 46% 66%)oklch(80.0% 0.076 198.9)7.01 AAA
白color7#f2f2e8rgb(242 242 232)hsl(60 28% 93%)oklch(95.8% 0.013 106.6)11.30 AAA
亮黑color8#cbd5d8rgb(203 213 216)hsl(194 14% 82%)oklch(86.6% 0.012 217.6)8.52 AAA
亮紅color9#efb0a7rgb(239 176 167)hsl(7 69% 80%)oklch(81.3% 0.075 28.0)6.93 AA
亮綠color10#a8d6b6rgb(168 214 182)hsl(138 36% 75%)oklch(83.5% 0.066 154.4)7.86 AAA
亮黃color11#ecd995rgb(236 217 149)hsl(47 70% 75%)oklch(88.5% 0.089 94.4)9.05 AAA
亮藍color12#a9d0e7rgb(169 208 231)hsl(202 56% 78%)oklch(83.7% 0.052 234.1)7.80 AAA
亮洋紅color13#cabce2rgb(202 188 226)hsl(262 40% 81%)oklch(81.9% 0.055 302.0)7.15 AAA
亮青color14#9bdaddrgb(155 218 221)hsl(183 49% 74%)oklch(84.7% 0.064 199.7)8.16 AAA
亮白color15#fffdf5rgb(255 253 245)hsl(48 100% 98%)oklch(99.3% 0.011 95.2)12.50 AAA

關於 Desert Moon

Desert Moon 採用冷色調的深色背景(#0b3459),預設前景色為 #f2f2e8。內文的 WCAG 對比度為 11.30:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.20:1,最低 5.75:1。

色票整體色彩彩度偏低,其中紅色為 #e79b90、綠色為 #8fc9a3、藍色為 #8dbfdd、洋紅為 #b9a7d7。

支援一鍵匯出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 終端機設定檔,同時提供 VS Code 與 Zed 整合式終端機、CSS 變數、Tailwind CSS 及 JSON 色票格式。

與 Desert Moon 相似的配色

資料來源:iTerm2 Color Schemes (MIT)