跳到主要內容

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/zh-tw/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)