跳到主要內容

Neon Night

Neon Night 是一套深色終端機配色(粉彩、冷色),背景色 #20242d,文字色 #c7c8ff,對比度 9.7:1

取得設定檔
背景色
#20242d
前景色
#c7c8ff
文字對比度
9.72:1AAA
強調色對比度
8.84:1最低 7.03
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
❯

Neon Night 的設定檔

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

Neon Night

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

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

palette = 0=#20242d
palette = 1=#ff8e8e
palette = 2=#7efdd0
palette = 3=#fcad3f
palette = 4=#69b4f9
palette = 5=#dd92f6
palette = 6=#8ce8ff
palette = 7=#c9cccd
palette = 8=#20242d
palette = 9=#ff8e8e
palette = 10=#7efdd0
palette = 11=#fcad3f
palette = 12=#69b4f9
palette = 13=#dd92f6
palette = 14=#8ce8ff
palette = 15=#c9cccd
background = #20242d
foreground = #c7c8ff
cursor-color = #c7c8ff
cursor-text = #20242d
selection-background = #45485b
selection-foreground = #c7c8ff

Neon Night 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#20242drgb(32 36 45)hsl(222 17% 15%)oklch(26.0% 0.018 266.3)—
前景色foreground#c7c8ffrgb(199 200 255)hsl(239 100% 89%)oklch(85.1% 0.076 283.8)9.72 AAA
光標cursor#c7c8ffrgb(199 200 255)hsl(239 100% 89%)oklch(85.1% 0.076 283.8)9.72 AAA
光標文字cursorText#20242drgb(32 36 45)hsl(222 17% 15%)oklch(26.0% 0.018 266.3)1.00 低於 AA
選取範圍selection#45485brgb(69 72 91)hsl(232 14% 31%)oklch(40.7% 0.032 277.8)1.72 低於 AA
選取文字selectionText#c7c8ffrgb(199 200 255)hsl(239 100% 89%)oklch(85.1% 0.076 283.8)9.72 AAA
黑color0#20242drgb(32 36 45)hsl(222 17% 15%)oklch(26.0% 0.018 266.3)1.00 低於 AA
紅color1#ff8e8ergb(255 142 142)hsl(0 100% 78%)oklch(76.9% 0.137 20.7)7.04 AAA
綠color2#7efdd0rgb(126 253 208)hsl(159 97% 74%)oklch(90.9% 0.131 167.8)12.46 AAA
黃color3#fcad3frgb(252 173 63)hsl(35 97% 62%)oklch(80.6% 0.151 70.9)8.28 AAA
藍color4#69b4f9rgb(105 180 249)hsl(209 92% 69%)oklch(75.0% 0.125 247.9)7.03 AAA
洋紅color5#dd92f6rgb(221 146 246)hsl(285 85% 77%)oklch(77.1% 0.158 317.3)7.04 AAA
青color6#8ce8ffrgb(140 232 255)hsl(192 100% 77%)oklch(88.2% 0.093 215.6)11.17 AAA
白color7#c9cccdrgb(201 204 205)hsl(195 4% 80%)oklch(84.3% 0.004 219.5)9.62 AAA
亮黑color8#20242drgb(32 36 45)hsl(222 17% 15%)oklch(26.0% 0.018 266.3)1.00 低於 AA
亮紅color9#ff8e8ergb(255 142 142)hsl(0 100% 78%)oklch(76.9% 0.137 20.7)7.04 AAA
亮綠color10#7efdd0rgb(126 253 208)hsl(159 97% 74%)oklch(90.9% 0.131 167.8)12.46 AAA
亮黃color11#fcad3frgb(252 173 63)hsl(35 97% 62%)oklch(80.6% 0.151 70.9)8.28 AAA
亮藍color12#69b4f9rgb(105 180 249)hsl(209 92% 69%)oklch(75.0% 0.125 247.9)7.03 AAA
亮洋紅color13#dd92f6rgb(221 146 246)hsl(285 85% 77%)oklch(77.1% 0.158 317.3)7.04 AAA
亮青color14#8ce8ffrgb(140 232 255)hsl(192 100% 77%)oklch(88.2% 0.093 215.6)11.17 AAA
亮白color15#c9cccdrgb(201 204 205)hsl(195 4% 80%)oklch(84.3% 0.004 219.5)9.62 AAA

關於 Neon Night

Neon Night 採用冷色調的深色背景(#20242d),預設前景色為 #c7c8ff。正文的 WCAG 對比度為 9.72:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.84:1,最低 7.03:1。

色板整體色彩飽和度適中,其中紅色為 #ff8e8e、綠色為 #7efdd0、藍色為 #69b4f9、洋紅為 #dd92f6。

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

與 Neon Night 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)