跳到正文

Nightfall

Nightfall 是一套深色终端配色(暖色),背景色 #1a140e,文字色 #f6e8d0,对比度 15.1:1

获取配置
背景色
#1a140e
前景色
#f6e8d0
文字对比度
15.10:1AAA
强调色对比度
8.42:1最低 5.26
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
❯

Nightfall 的配置文件

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

Nightfall

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

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

palette = 0=#3a2f24
palette = 1=#e87555
palette = 2=#83b96f
palette = 3=#e8ad3f
palette = 4=#5f9ed8
palette = 5=#bd6fae
palette = 6=#4dbeb1
palette = 7=#d9c09a
palette = 8=#5b4a3a
palette = 9=#f28b6b
palette = 10=#a8d07d
palette = 11=#ffd166
palette = 12=#79b5e8
palette = 13=#eba1d9
palette = 14=#66d0c4
palette = 15=#fff2d6
background = #1a140e
foreground = #f6e8d0
cursor-color = #d4a85c
cursor-text = #1a140e
selection-background = #3b2a1a
selection-foreground = #f6e8d0

Nightfall 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#1a140ergb(26 20 14)hsl(30 30% 8%)oklch(19.7% 0.015 66.8)—
前景色foreground#f6e8d0rgb(246 232 208)hsl(38 68% 89%)oklch(93.6% 0.035 81.3)15.10 AAA
光标cursor#d4a85crgb(212 168 92)hsl(38 58% 60%)oklch(75.6% 0.108 79.6)8.31 AAA
光标文字cursorText#1a140ergb(26 20 14)hsl(30 30% 8%)oklch(19.7% 0.015 66.8)1.00 低于 AA
选区selection#3b2a1argb(59 42 26)hsl(29 39% 17%)oklch(30.1% 0.037 64.0)1.33 低于 AA
选区文字selectionText#f6e8d0rgb(246 232 208)hsl(38 68% 89%)oklch(93.6% 0.035 81.3)15.10 AAA
黑color0#3a2f24rgb(58 47 36)hsl(30 23% 18%)oklch(31.4% 0.025 66.7)1.40 低于 AA
红color1#e87555rgb(232 117 85)hsl(13 76% 62%)oklch(68.9% 0.150 36.5)6.18 AA
绿color2#83b96frgb(131 185 111)hsl(104 35% 58%)oklch(73.0% 0.117 137.6)7.94 AAA
黄color3#e8ad3frgb(232 173 63)hsl(39 79% 58%)oklch(78.4% 0.140 79.3)9.11 AAA
蓝color4#5f9ed8rgb(95 158 216)hsl(209 61% 61%)oklch(68.1% 0.108 247.8)6.41 AA
品红color5#bd6faergb(189 111 174)hsl(312 37% 59%)oklch(64.8% 0.127 334.4)5.26 AA
青color6#4dbeb1rgb(77 190 177)hsl(173 47% 52%)oklch(73.3% 0.104 184.8)8.10 AAA
白color7#d9c09argb(217 192 154)hsl(36 45% 73%)oklch(81.9% 0.058 78.1)10.39 AAA
亮黑color8#5b4a3argb(91 74 58)hsl(29 22% 29%)oklch(42.2% 0.034 65.0)2.16 低于 AA
亮红color9#f28b6brgb(242 139 107)hsl(14 84% 68%)oklch(74.0% 0.134 38.0)7.55 AAA
亮绿color10#a8d07drgb(168 208 125)hsl(89 47% 65%)oklch(80.9% 0.118 129.7)10.42 AAA
亮黄color11#ffd166rgb(255 209 102)hsl(42 100% 70%)oklch(88.0% 0.135 86.1)12.66 AAA
亮蓝color12#79b5e8rgb(121 181 232)hsl(208 71% 69%)oklch(75.2% 0.097 245.2)8.33 AAA
亮品红color13#eba1d9rgb(235 161 217)hsl(315 65% 78%)oklch(79.8% 0.113 335.8)9.24 AAA
亮青color14#66d0c4rgb(102 208 196)hsl(173 53% 61%)oklch(79.1% 0.100 185.6)9.90 AAA
亮白color15#fff2d6rgb(255 242 214)hsl(41 100% 92%)oklch(96.4% 0.039 86.1)16.45 AAA

关于 Nightfall

Nightfall 采用暖色调的深色背景(#1a140e),默认前景色为 #f6e8d0。正文的 WCAG 对比度为 15.10:1(AAA),12 种 ANSI 彩色槽位平均对比度 8.42:1,最低 5.26:1。

色板整体色彩饱和度适中,其中红色为 #e87555、绿色为 #83b96f、蓝色为 #5f9ed8、品红为 #bd6fae。

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

与 Nightfall 相似的配色

数据来源:iTerm2 Color Schemes (MIT)