跳到正文

Desert Night

Desert Night 是一套深色终端配色,背景色 #24221c,文字色 #d4b07b,对比度 7.8:1

获取配置
背景色
#24221c
前景色
#d4b07b
文字对比度
7.80:1AAA
强调色对比度
5.91:1最低 4.54
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 Night 的配置文件

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

Desert Night

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

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

palette = 0=#473f31
palette = 1=#e56b55
palette = 2=#99b05f
palette = 3=#e18245
palette = 4=#949fb4
palette = 5=#d261a5
palette = 6=#bfab36
palette = 7=#87765d
palette = 8=#473f31
palette = 9=#e56b55
palette = 10=#99b05f
palette = 11=#e5a440
palette = 12=#949fb4
palette = 13=#d261a5
palette = 14=#bfab36
palette = 15=#87765d
background = #24221c
foreground = #d4b07b
cursor-color = #d4b07b
cursor-text = #24221c
selection-background = #4b4232
selection-foreground = #d4b07b

Desert Night 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#24221crgb(36 34 28)hsl(45 13% 13%)oklch(25.2% 0.011 91.7)—
前景色foreground#d4b07brgb(212 176 123)hsl(36 51% 66%)oklch(77.7% 0.081 76.8)7.80 AAA
光标cursor#d4b07brgb(212 176 123)hsl(36 51% 66%)oklch(77.7% 0.081 76.8)7.80 AAA
光标文字cursorText#24221crgb(36 34 28)hsl(45 13% 13%)oklch(25.2% 0.011 91.7)1.00 低于 AA
选区selection#4b4232rgb(75 66 50)hsl(38 20% 25%)oklch(38.3% 0.029 81.8)1.61 低于 AA
选区文字selectionText#d4b07brgb(212 176 123)hsl(36 51% 66%)oklch(77.7% 0.081 76.8)7.80 AAA
黑color0#473f31rgb(71 63 49)hsl(38 18% 24%)oklch(37.2% 0.025 81.5)1.53 低于 AA
红color1#e56b55rgb(229 107 85)hsl(9 73% 62%)oklch(67.0% 0.156 31.9)4.97 AA
绿color2#99b05frgb(153 176 95)hsl(77 34% 53%)oklch(72.1% 0.110 122.2)6.61 AA
黄color3#e18245rgb(225 130 69)hsl(23 72% 58%)oklch(69.9% 0.139 51.2)5.66 AA
蓝color4#949fb4rgb(148 159 180)hsl(219 18% 64%)oklch(70.1% 0.033 263.4)5.97 AA
品红color5#d261a5rgb(210 97 165)hsl(324 56% 60%)oklch(65.1% 0.162 345.4)4.54 AA
青color6#bfab36rgb(191 171 54)hsl(51 56% 48%)oklch(73.8% 0.134 99.3)6.89 AA
白color7#87765drgb(135 118 93)hsl(36 18% 45%)oklch(57.5% 0.042 77.3)3.62 AA 大字号
亮黑color8#473f31rgb(71 63 49)hsl(38 18% 24%)oklch(37.2% 0.025 81.5)1.53 低于 AA
亮红color9#e56b55rgb(229 107 85)hsl(9 73% 62%)oklch(67.0% 0.156 31.9)4.97 AA
亮绿color10#99b05frgb(153 176 95)hsl(77 34% 53%)oklch(72.1% 0.110 122.2)6.61 AA
亮黄color11#e5a440rgb(229 164 64)hsl(36 76% 57%)oklch(76.4% 0.136 74.4)7.36 AAA
亮蓝color12#949fb4rgb(148 159 180)hsl(219 18% 64%)oklch(70.1% 0.033 263.4)5.97 AA
亮品红color13#d261a5rgb(210 97 165)hsl(324 56% 60%)oklch(65.1% 0.162 345.4)4.54 AA
亮青color14#bfab36rgb(191 171 54)hsl(51 56% 48%)oklch(73.8% 0.134 99.3)6.89 AA
亮白color15#87765drgb(135 118 93)hsl(36 18% 45%)oklch(57.5% 0.042 77.3)3.62 AA 大字号

关于 Desert Night

Desert Night 采用中性色调的深色背景(#24221c),默认前景色为 #d4b07b。正文的 WCAG 对比度为 7.80:1(AAA),12 种 ANSI 彩色槽位平均对比度 5.91:1,最低 4.54:1。

色板整体色彩饱和度适中,其中红色为 #e56b55、绿色为 #99b05f、蓝色为 #949fb4、品红为 #d261a5。

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

与 Desert Night 相似的配色

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