跳到正文

Nebula

Nebula 是一套深色终端配色(鲜艳、冷色),背景色 #23262e,文字色 #ffffff,对比度 15.1:1

获取配置
背景色
#23262e
前景色
#ffffff
文字对比度
15.13:1AAA
强调色对比度
7.87:1最低 3.99
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
❯

Nebula 的配置文件

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

Nebula

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

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

palette = 0=#2e3436
palette = 1=#ff007a
palette = 2=#84ff39
palette = 3=#f3d56e
palette = 4=#7cb7ff
palette = 5=#c74ded
palette = 6=#00e8c6
palette = 7=#d3d7cf
palette = 8=#555753
palette = 9=#ff007a
palette = 10=#84ff39
palette = 11=#f3d56e
palette = 12=#7cb7ff
palette = 13=#c74ded
palette = 14=#00e8c6
palette = 15=#eeeeec
background = #23262e
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #23262e
selection-background = #53565c
selection-foreground = #ffffff

Nebula 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#23262ergb(35 38 46)hsl(224 14% 16%)oklch(26.9% 0.016 269.1)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.13 AAA
光标cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.13 AAA
光标文字cursorText#23262ergb(35 38 46)hsl(224 14% 16%)oklch(26.9% 0.016 269.1)1.00 低于 AA
选区selection#53565crgb(83 86 92)hsl(220 5% 34%)oklch(45.3% 0.010 264.5)2.06 低于 AA
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.13 AAA
黑color0#2e3436rgb(46 52 54)hsl(195 8% 20%)oklch(32.0% 0.009 219.8)1.20 低于 AA
红color1#ff007argb(255 0 122)hsl(331 100% 50%)oklch(64.4% 0.259 4.3)3.99 AA 大字号
绿color2#84ff39rgb(132 255 57)hsl(97 100% 61%)oklch(89.4% 0.249 136.7)11.77 AAA
黄color3#f3d56ergb(243 213 110)hsl(46 85% 69%)oklch(87.8% 0.127 93.4)10.48 AAA
蓝color4#7cb7ffrgb(124 183 255)hsl(213 100% 74%)oklch(76.8% 0.121 254.1)7.26 AAA
品红color5#c74dedrgb(199 77 237)hsl(286 82% 62%)oklch(64.8% 0.242 317.1)4.12 AA 大字号
青color6#00e8c6rgb(0 232 198)hsl(171 100% 45%)oklch(83.2% 0.154 176.9)9.62 AAA
白color7#d3d7cfrgb(211 215 207)hsl(90 9% 83%)oklch(87.4% 0.012 128.6)10.37 AAA
亮黑color8#555753rgb(85 87 83)hsl(90 2% 33%)oklch(45.4% 0.007 128.6)2.07 低于 AA
亮红color9#ff007argb(255 0 122)hsl(331 100% 50%)oklch(64.4% 0.259 4.3)3.99 AA 大字号
亮绿color10#84ff39rgb(132 255 57)hsl(97 100% 61%)oklch(89.4% 0.249 136.7)11.77 AAA
亮黄color11#f3d56ergb(243 213 110)hsl(46 85% 69%)oklch(87.8% 0.127 93.4)10.48 AAA
亮蓝color12#7cb7ffrgb(124 183 255)hsl(213 100% 74%)oklch(76.8% 0.121 254.1)7.26 AAA
亮品红color13#c74dedrgb(199 77 237)hsl(286 82% 62%)oklch(64.8% 0.242 317.1)4.12 AA 大字号
亮青color14#00e8c6rgb(0 232 198)hsl(171 100% 45%)oklch(83.2% 0.154 176.9)9.62 AAA
亮白color15#eeeeecrgb(238 238 236)hsl(60 6% 93%)oklch(94.9% 0.003 106.5)13.02 AAA

关于 Nebula

Nebula 采用冷色调的深色背景(#23262e),默认前景色为 #ffffff。正文的 WCAG 对比度为 15.13:1(AAA),12 种 ANSI 彩色槽位平均对比度 7.87:1,最低 3.99:1。

色板整体色彩饱和度较高,其中红色为 #ff007a、绿色为 #84ff39、蓝色为 #7cb7ff、品红为 #c74ded。

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

与 Nebula 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)