跳到正文

Nachtschicht

Nachtschicht 是一套深色终端配色,背景色 #17191d,文字色 #e8eaed,对比度 14.6:1

获取配置
背景色
#17191d
前景色
#e8eaed
文字对比度
14.60:1AAA
强调色对比度
8.35:1最低 4.50
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
❯

Nachtschicht 的配置文件

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

Nachtschicht

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

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

palette = 0=#0e1012
palette = 1=#e5484d
palette = 2=#33d17a
palette = 3=#e3b341
palette = 4=#4d7cfe
palette = 5=#c86ad8
palette = 6=#3fc8b0
palette = 7=#c9cfd6
palette = 8=#9da4af
palette = 9=#ef8f92
palette = 10=#76e0a5
palette = 11=#edcf88
palette = 12=#9eb8fe
palette = 13=#e0abe9
palette = 14=#7edaca
palette = 15=#e8eaed
background = #17191d
foreground = #e8eaed
cursor-color = #e3b341
cursor-text = #17191d
selection-background = #36393c
selection-foreground = #e8eaed

Nachtschicht 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#17191drgb(23 25 29)hsl(220 12% 10%)oklch(21.3% 0.008 264.4)—
前景色foreground#e8eaedrgb(232 234 237)hsl(216 12% 92%)oklch(93.6% 0.005 258.3)14.60 AAA
光标cursor#e3b341rgb(227 179 65)hsl(42 74% 57%)oklch(79.0% 0.139 85.2)9.04 AAA
光标文字cursorText#17191drgb(23 25 29)hsl(220 12% 10%)oklch(21.3% 0.008 264.4)1.00 低于 AA
选区selection#36393crgb(54 57 60)hsl(210 5% 22%)oklch(34.3% 0.007 248.0)1.51 低于 AA
选区文字selectionText#e8eaedrgb(232 234 237)hsl(216 12% 92%)oklch(93.6% 0.005 258.3)14.60 AAA
黑color0#0e1012rgb(14 16 18)hsl(210 13% 6%)oklch(17.2% 0.005 248.1)1.08 低于 AA
红color1#e5484drgb(229 72 77)hsl(358 75% 59%)oklch(62.6% 0.193 23.0)4.50 AA 大字号
绿color2#33d17argb(51 209 122)hsl(147 63% 51%)oklch(76.1% 0.178 153.6)8.83 AAA
黄color3#e3b341rgb(227 179 65)hsl(42 74% 57%)oklch(79.0% 0.139 85.2)9.04 AAA
蓝color4#4d7cfergb(77 124 254)hsl(224 99% 65%)oklch(62.3% 0.200 265.8)4.72 AA
品红color5#c86ad8rgb(200 106 216)hsl(291 59% 63%)oklch(67.3% 0.182 321.6)5.46 AA
青color6#3fc8b0rgb(63 200 176)hsl(169 55% 52%)oklch(75.4% 0.121 178.6)8.46 AAA
白color7#c9cfd6rgb(201 207 214)hsl(212 14% 81%)oklch(85.2% 0.012 252.1)11.21 AAA
亮黑color8#9da4afrgb(157 164 175)hsl(217 10% 65%)oklch(71.7% 0.018 259.4)7.01 AAA
亮红color9#ef8f92rgb(239 143 146)hsl(358 75% 75%)oklch(75.1% 0.117 18.2)7.55 AAA
亮绿color10#76e0a5rgb(118 224 165)hsl(147 63% 67%)oklch(82.7% 0.130 157.5)10.87 AAA
亮黄color11#edcf88rgb(237 207 136)hsl(42 74% 73%)oklch(86.4% 0.096 87.5)11.63 AAA
亮蓝color12#9eb8fergb(158 184 254)hsl(224 98% 81%)oklch(78.9% 0.104 268.3)9.00 AAA
亮品红color13#e0abe9rgb(224 171 233)hsl(291 58% 79%)oklch(81.0% 0.103 321.5)9.36 AAA
亮青color14#7edacargb(126 218 202)hsl(170 55% 67%)oklch(82.6% 0.092 181.5)10.70 AAA
亮白color15#e8eaedrgb(232 234 237)hsl(216 12% 92%)oklch(93.6% 0.005 258.3)14.60 AAA

关于 Nachtschicht

Nachtschicht 采用中性色调的深色背景(#17191d),默认前景色为 #e8eaed。正文的 WCAG 对比度为 14.60:1(AAA),12 种 ANSI 彩色槽位平均对比度 8.35:1,最低 4.50:1。

色板整体色彩饱和度适中,其中红色为 #e5484d、绿色为 #33d17a、蓝色为 #4d7cfe、品红为 #c86ad8。

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

与 Nachtschicht 相似的配色

数据来源:iTerm2 Color Schemes (MIT)