跳到主要內容

Night Lion V2

Night Lion V2 是一套深色終端機配色(鮮豔),背景色 #171717,文字色 #bbbbbb,對比度 9.3:1

取得設定檔
背景色
#171717
前景色
#bbbbbb
文字對比度
9.34:1AAA
強調色對比度
9.99:1最低 2.66
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
❯

Night Lion V2 的設定檔

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

Night Lion V2

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

更多 Ghostty 配色
原始檔
# Theme: Night Lion V2 (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/night-lion-v2?format=ghostty

palette = 0=#4c4c4c
palette = 1=#bb0000
palette = 2=#04f623
palette = 3=#f3f167
palette = 4=#64d0f0
palette = 5=#ce6fdb
palette = 6=#00dadf
palette = 7=#bbbbbb
palette = 8=#555555
palette = 9=#ff5555
palette = 10=#7df71d
palette = 11=#ffff55
palette = 12=#62cbe8
palette = 13=#ff9bf5
palette = 14=#00ccd8
palette = 15=#ffffff
background = #171717
foreground = #bbbbbb
cursor-color = #bbbbbb
cursor-text = #ffffff
selection-background = #b5d5ff
selection-foreground = #000000

Night Lion V2 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#171717rgb(23 23 23)hsl(0 0% 9%)oklch(20.5% 0.000 0)—
前景色foreground#bbbbbbrgb(187 187 187)hsl(0 0% 73%)oklch(79.2% 0.000 0)9.34 AAA
游標cursor#bbbbbbrgb(187 187 187)hsl(0 0% 73%)oklch(79.2% 0.000 0)9.34 AAA
游標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.93 AAA
選取範圍selection#b5d5ffrgb(181 213 255)hsl(214 100% 85%)oklch(86.4% 0.068 255.3)11.89 AAA
選取文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.17 低於 AA
黑color0#4c4c4crgb(76 76 76)hsl(0 0% 30%)oklch(41.7% 0.000 0)2.09 低於 AA
紅color1#bb0000rgb(187 0 0)hsl(0 100% 37%)oklch(49.7% 0.204 29.2)2.66 低於 AA
綠color2#04f623rgb(4 246 35)hsl(128 97% 49%)oklch(84.4% 0.281 143.1)12.13 AAA
黃color3#f3f167rgb(243 241 103)hsl(59 85% 68%)oklch(93.4% 0.158 108.3)15.02 AAA
藍color4#64d0f0rgb(100 208 240)hsl(194 82% 67%)oklch(80.6% 0.109 220.0)10.09 AAA
洋紅color5#ce6fdbrgb(206 111 219)hsl(293 60% 65%)oklch(68.9% 0.180 322.7)5.91 AA
青color6#00dadfrgb(0 218 223)hsl(181 100% 44%)oklch(80.6% 0.137 197.7)10.32 AAA
白color7#bbbbbbrgb(187 187 187)hsl(0 0% 73%)oklch(79.2% 0.000 0)9.34 AAA
亮黑color8#555555rgb(85 85 85)hsl(0 0% 33%)oklch(45.0% 0.000 0)2.40 低於 AA
亮紅color9#ff5555rgb(255 85 85)hsl(0 100% 67%)oklch(68.2% 0.206 24.4)5.70 AA
亮綠color10#7df71drgb(125 247 29)hsl(94 93% 54%)oklch(87.0% 0.253 136.2)12.97 AAA
亮黃color11#ffff55rgb(255 255 85)hsl(60 100% 67%)oklch(97.1% 0.183 109.4)16.81 AAA
亮藍color12#62cbe8rgb(98 203 232)hsl(193 74% 65%)oklch(79.1% 0.105 218.5)9.58 AAA
亮洋紅color13#ff9bf5rgb(255 155 245)hsl(306 100% 80%)oklch(82.1% 0.162 330.6)9.61 AAA
亮青color14#00ccd8rgb(0 204 216)hsl(183 100% 42%)oklch(77.0% 0.131 202.3)9.07 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.93 AAA

關於 Night Lion V2

Night Lion V2 採用中性色調的深色背景(#171717),預設前景色為 #bbbbbb。內文的 WCAG 對比度為 9.34:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.99:1,最低 2.66:1。

色票整體色彩彩度較高,其中紅色為 #bb0000、綠色為 #04f623、藍色為 #64d0f0、洋紅為 #ce6fdb。

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

與 Night Lion V2 相似的配色

資料來源:iTerm2 Color Schemes (MIT)