跳到主要內容

Neon

Neon 是一套深色終端機配色(鮮豔),背景色 #14161a,文字色 #00fffc,對比度 14.4:1

取得設定檔
背景色
#14161a
前景色
#00fffc
文字對比度
14.41:1AAA
強調色對比度
9.82:1最低 1.64
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 的設定檔

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

Neon

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

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

palette = 0=#000000
palette = 1=#ff3045
palette = 2=#5ffa74
palette = 3=#fffc7e
palette = 4=#0208cb
palette = 5=#f924e7
palette = 6=#00fffc
palette = 7=#c7c7c7
palette = 8=#686868
palette = 9=#ff5a5a
palette = 10=#75ff88
palette = 11=#fffd96
palette = 12=#3c40cb
palette = 13=#f15be5
palette = 14=#88fffe
palette = 15=#ffffff
background = #14161a
foreground = #00fffc
cursor-color = #c7c7c7
cursor-text = #ffffff
selection-background = #0013ff
selection-foreground = #08d2cf

Neon 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#14161argb(20 22 26)hsl(220 13% 9%)oklch(20.0% 0.009 264.4)—
前景色foreground#00fffcrgb(0 255 252)hsl(179 100% 50%)oklch(90.4% 0.155 193.2)14.41 AAA
游標cursor#c7c7c7rgb(199 199 199)hsl(0 0% 78%)oklch(83.0% 0.000 0)10.71 AAA
游標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.11 AAA
選取範圍selection#0013ffrgb(0 19 255)hsl(236 100% 50%)oklch(45.9% 0.309 264.1)2.19 低於 AA
選取文字selectionText#08d2cfrgb(8 210 207)hsl(179 93% 43%)oklch(78.1% 0.133 192.9)9.60 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.16 低於 AA
紅color1#ff3045rgb(255 48 69)hsl(354 100% 59%)oklch(64.9% 0.237 22.6)4.97 AA
綠color2#5ffa74rgb(95 250 116)hsl(128 94% 68%)oklch(87.4% 0.220 145.7)13.29 AAA
黃color3#fffc7ergb(255 252 126)hsl(59 100% 75%)oklch(96.9% 0.148 107.6)16.80 AAA
藍color4#0208cbrgb(2 8 203)hsl(238 98% 40%)oklch(38.5% 0.261 264.3)1.64 低於 AA
洋紅color5#f924e7rgb(249 36 231)hsl(305 95% 56%)oklch(68.7% 0.294 332.4)5.55 AA
青color6#00fffcrgb(0 255 252)hsl(179 100% 50%)oklch(90.4% 0.155 193.2)14.41 AAA
白color7#c7c7c7rgb(199 199 199)hsl(0 0% 78%)oklch(83.0% 0.000 0)10.71 AAA
亮黑color8#686868rgb(104 104 104)hsl(0 0% 41%)oklch(51.7% 0.000 0)3.25 AA 大字級
亮紅color9#ff5a5argb(255 90 90)hsl(0 100% 68%)oklch(68.8% 0.201 24.1)5.92 AA
亮綠color10#75ff88rgb(117 255 136)hsl(128 100% 73%)oklch(89.6% 0.200 146.4)14.16 AAA
亮黃color11#fffd96rgb(255 253 150)hsl(59 100% 79%)oklch(97.4% 0.125 107.5)17.03 AAA
亮藍color12#3c40cbrgb(60 64 203)hsl(238 58% 52%)oklch(46.5% 0.209 273.5)2.40 低於 AA
亮洋紅color13#f15be5rgb(241 91 229)hsl(305 84% 65%)oklch(71.4% 0.238 331.1)6.35 AA
亮青color14#88fffergb(136 255 254)hsl(179 100% 77%)oklch(93.0% 0.108 194.7)15.34 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.11 AAA

關於 Neon

Neon 採用中性色調的深色背景(#14161a),預設前景色為 #00fffc。內文的 WCAG 對比度為 14.41:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.82:1,最低 1.64:1。

色票整體色彩彩度較高,其中紅色為 #ff3045、綠色為 #5ffa74、藍色為 #0208cb、洋紅為 #f924e7。

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

與 Neon 相似的配色

資料來源:iTerm2 Color Schemes (MIT)