跳到正文

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/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)