跳到主要內容

Kashmir Nights

Kashmir Nights 是一套深色終端機配色(低飽和、暖色),背景色 #291714,文字色 #f4dfc9,對比度 13.2:1

取得設定檔
背景色
#291714
前景色
#f4dfc9
文字對比度
13.24:1AAA
強調色對比度
8.63:1最低 5.94
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
❯

Kashmir Nights 的設定檔

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

Kashmir Nights

存到 ~/.config/ghostty/themes/Kashmir Nights,再在 config 或 config.ghostty 裏寫 theme = Kashmir Nights

更多 Ghostty 配色
原始檔案
# Theme: Kashmir Nights (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/kashmir-nights?format=ghostty

palette = 0=#b4a29a
palette = 1=#dc805e
palette = 2=#b6b18a
palette = 3=#e6b46a
palette = 4=#9cacc1
palette = 5=#b5a0b7
palette = 6=#a6b6ad
palette = 7=#f4dfc9
palette = 8=#c9b8a9
palette = 9=#f09b72
palette = 10=#cbc59d
palette = 11=#f7cc82
palette = 12=#b5c2d2
palette = 13=#ceb5d0
palette = 14=#bcd1c1
palette = 15=#fff0dd
background = #291714
foreground = #f4dfc9
cursor-color = #f1bb72
cursor-text = #291714
selection-background = #604136
selection-foreground = #fff9ed

Kashmir Nights 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#291714rgb(41 23 20)hsl(9 34% 12%)oklch(22.8% 0.030 29.9)—
前景色foreground#f4dfc9rgb(244 223 201)hsl(31 66% 87%)oklch(91.5% 0.037 68.6)13.24 AAA
光標cursor#f1bb72rgb(241 187 114)hsl(34 82% 70%)oklch(82.6% 0.110 73.6)9.85 AAA
光標文字cursorText#291714rgb(41 23 20)hsl(9 34% 12%)oklch(22.8% 0.030 29.9)1.00 低於 AA
選取範圍selection#604136rgb(96 65 54)hsl(16 28% 29%)oklch(40.7% 0.047 40.3)1.88 低於 AA
選取文字selectionText#fff9edrgb(255 249 237)hsl(40 100% 96%)oklch(98.4% 0.017 84.6)16.32 AAA
黑color0#b4a29argb(180 162 154)hsl(18 15% 65%)oklch(72.6% 0.024 45.5)6.99 AA
紅color1#dc805ergb(220 128 94)hsl(16 64% 62%)oklch(69.2% 0.124 40.8)5.94 AA
綠color2#b6b18argb(182 177 138)hsl(53 23% 63%)oklch(75.4% 0.053 101.5)7.86 AAA
黃color3#e6b46argb(230 180 106)hsl(36 71% 66%)oklch(80.0% 0.109 75.9)9.05 AAA
藍color4#9cacc1rgb(156 172 193)hsl(214 23% 68%)oklch(73.9% 0.035 255.2)7.40 AAA
洋紅color5#b5a0b7rgb(181 160 183)hsl(295 14% 67%)oklch(73.1% 0.040 323.3)7.07 AAA
青color6#a6b6adrgb(166 182 173)hsl(146 10% 68%)oklch(76.1% 0.022 161.3)8.08 AAA
白color7#f4dfc9rgb(244 223 201)hsl(31 66% 87%)oklch(91.5% 0.037 68.6)13.24 AAA
亮黑color8#c9b8a9rgb(201 184 169)hsl(28 23% 73%)oklch(79.3% 0.028 63.9)8.89 AAA
亮紅color9#f09b72rgb(240 155 114)hsl(20 81% 69%)oklch(76.6% 0.116 46.3)7.85 AAA
亮綠color10#cbc59drgb(203 197 157)hsl(52 31% 71%)oklch(81.8% 0.054 100.4)9.79 AAA
亮黃color11#f7cc82rgb(247 204 130)hsl(38 88% 74%)oklch(86.7% 0.104 80.3)11.34 AAA
亮藍color12#b5c2d2rgb(181 194 210)hsl(213 24% 77%)oklch(80.9% 0.027 253.6)9.46 AAA
亮洋紅color13#ceb5d0rgb(206 181 208)hsl(296 22% 76%)oklch(80.3% 0.046 323.7)9.08 AAA
亮青color14#bcd1c1rgb(188 209 193)hsl(134 19% 78%)oklch(84.0% 0.032 152.8)10.62 AAA
亮白color15#fff0ddrgb(255 240 221)hsl(34 100% 93%)oklch(96.2% 0.030 73.9)15.29 AAA

關於 Kashmir Nights

Kashmir Nights 採用暖色調的深色背景(#291714),預設前景色為 #f4dfc9。正文的 WCAG 對比度為 13.24:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.63:1,最低 5.94:1。

色板整體色彩飽和度偏低,其中紅色為 #dc805e、綠色為 #b6b18a、藍色為 #9cacc1、洋紅為 #b5a0b7。

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

與 Kashmir Nights 相似的配色

資料來源:iTerm2 Color Schemes (MIT)