跳到正文

NightLion v1

NightLion v1 是一套深色终端配色(纯黑、鲜艳),背景色 #000000,文字色 #bbbbbb,对比度 10.9:1

获取配置
背景色
#000000
前景色
#bbbbbb
文字对比度
10.94:1AAA
强调色对比度
10.36:1最低 3.11
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
❯

NightLion v1 的配置文件

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

NightLion v1

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

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

palette = 0=#4c4c4c
palette = 1=#bb0000
palette = 2=#5ede8f
palette = 3=#f2f067
palette = 4=#266ad7
palette = 5=#bb00bb
palette = 6=#00d9df
palette = 7=#bbbbbb
palette = 8=#545454
palette = 9=#ff5555
palette = 10=#55ff55
palette = 11=#ffff55
palette = 12=#5555ff
palette = 13=#ff55ff
palette = 14=#55ffff
palette = 15=#ffffff
background = #000000
foreground = #bbbbbb
cursor-color = #bbbbbb
cursor-text = #000000
selection-background = #b4d5ff
selection-foreground = #000000

NightLion v1 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#bbbbbbrgb(187 187 187)hsl(0 0% 73%)oklch(79.2% 0.000 0)10.94 AAA
光标cursor#bbbbbbrgb(187 187 187)hsl(0 0% 73%)oklch(79.2% 0.000 0)10.94 AAA
光标文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低于 AA
选区selection#b4d5ffrgb(180 213 255)hsl(214 100% 85%)oklch(86.3% 0.068 254.6)13.90 AAA
选区文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低于 AA
黑color0#4c4c4crgb(76 76 76)hsl(0 0% 30%)oklch(41.7% 0.000 0)2.45 低于 AA
红color1#bb0000rgb(187 0 0)hsl(0 100% 37%)oklch(49.7% 0.204 29.2)3.11 AA 大字号
绿color2#5ede8frgb(94 222 143)hsl(143 66% 62%)oklch(80.9% 0.160 153.6)12.32 AAA
黄color3#f2f067rgb(242 240 103)hsl(59 84% 68%)oklch(93.1% 0.157 108.3)17.44 AAA
蓝color4#266ad7rgb(38 106 215)hsl(217 70% 50%)oklch(54.5% 0.181 259.8)4.13 AA 大字号
品红color5#bb00bbrgb(187 0 187)hsl(300 100% 37%)oklch(55.6% 0.255 328.4)3.83 AA 大字号
青color6#00d9dfrgb(0 217 223)hsl(182 100% 44%)oklch(80.4% 0.137 198.3)11.99 AAA
白color7#bbbbbbrgb(187 187 187)hsl(0 0% 73%)oklch(79.2% 0.000 0)10.94 AAA
亮黑color8#545454rgb(84 84 84)hsl(0 0% 33%)oklch(44.6% 0.000 0)2.77 低于 AA
亮红color9#ff5555rgb(255 85 85)hsl(0 100% 67%)oklch(68.2% 0.206 24.4)6.68 AA
亮绿color10#55ff55rgb(85 255 85)hsl(120 100% 67%)oklch(88.0% 0.252 143.1)15.82 AAA
亮黄color11#ffff55rgb(255 255 85)hsl(60 100% 67%)oklch(97.1% 0.183 109.4)19.69 AAA
亮蓝color12#5555ffrgb(85 85 255)hsl(240 100% 67%)oklch(56.0% 0.244 275.1)4.13 AA 大字号
亮品红color13#ff55ffrgb(255 85 255)hsl(300 100% 67%)oklch(74.0% 0.272 327.9)8.00 AAA
亮青color14#55ffffrgb(85 255 255)hsl(180 100% 67%)oklch(91.5% 0.136 195.0)17.13 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA

关于 NightLion v1

NightLion v1 采用中性色调的深色背景(#000000),默认前景色为 #bbbbbb。正文的 WCAG 对比度为 10.94:1(AAA),12 种 ANSI 彩色槽位平均对比度 10.36:1,最低 3.11:1。

色板整体色彩饱和度较高,其中红色为 #bb0000、绿色为 #5ede8f、蓝色为 #266ad7、品红为 #bb00bb。

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

与 NightLion v1 相似的配色

数据来源:Kitty Themes (MIT)