跳到正文

Night Owl

Night Owl 是一套深色终端配色(冷色),背景色 #011627,文字色 #d6deeb,对比度 13.5:1

获取配置
背景色
#011627
前景色
#d6deeb
文字对比度
13.54:1AAA
强调色对比度
9.01:1最低 5.26
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 Owl 的配置文件

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

Night Owl

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

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

palette = 0=#011627
palette = 1=#ef5350
palette = 2=#22da6e
palette = 3=#addb67
palette = 4=#82aaff
palette = 5=#c792ea
palette = 6=#21c7a8
palette = 7=#ffffff
palette = 8=#575656
palette = 9=#ef5350
palette = 10=#22da6e
palette = 11=#ffeb95
palette = 12=#82aaff
palette = 13=#c792ea
palette = 14=#7fdbca
palette = 15=#ffffff
background = #011627
foreground = #d6deeb
cursor-color = #7e57c2
cursor-text = #ffffff
selection-background = #5f7e97
selection-foreground = #dfe5ee

Night Owl 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#011627rgb(1 22 39)hsl(207 95% 8%)oklch(19.3% 0.045 244.0)—
前景色foreground#d6deebrgb(214 222 235)hsl(217 34% 88%)oklch(89.8% 0.020 260.2)13.54 AAA
光标cursor#7e57c2rgb(126 87 194)hsl(262 47% 55%)oklch(54.9% 0.162 297.7)3.52 AA 大字号
光标文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.33 AAA
选区selection#5f7e97rgb(95 126 151)hsl(207 23% 48%)oklch(57.9% 0.052 243.1)4.29 AA 大字号
选区文字selectionText#dfe5eergb(223 229 238)hsl(216 31% 90%)oklch(92.0% 0.014 258.3)14.48 AAA
黑color0#011627rgb(1 22 39)hsl(207 95% 8%)oklch(19.3% 0.045 244.0)1.00 低于 AA
红color1#ef5350rgb(239 83 80)hsl(1 83% 63%)oklch(65.4% 0.193 25.1)5.26 AA
绿color2#22da6ergb(34 218 110)hsl(145 73% 49%)oklch(78.0% 0.204 150.7)9.88 AAA
黄color3#addb67rgb(173 219 103)hsl(84 62% 63%)oklch(83.4% 0.153 127.4)11.44 AAA
蓝color4#82aaffrgb(130 170 255)hsl(221 100% 75%)oklch(74.4% 0.131 264.3)7.98 AAA
品红color5#c792eargb(199 146 234)hsl(276 68% 75%)oklch(74.3% 0.135 311.1)7.62 AAA
青color6#21c7a8rgb(33 199 168)hsl(169 72% 45%)oklch(74.4% 0.134 175.6)8.56 AAA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.33 AAA
亮黑color8#575656rgb(87 86 86)hsl(0 1% 34%)oklch(45.4% 0.001 17.2)2.51 低于 AA
亮红color9#ef5350rgb(239 83 80)hsl(1 83% 63%)oklch(65.4% 0.193 25.1)5.26 AA
亮绿color10#22da6ergb(34 218 110)hsl(145 73% 49%)oklch(78.0% 0.204 150.7)9.88 AAA
亮黄color11#ffeb95rgb(255 235 149)hsl(49 100% 79%)oklch(93.8% 0.108 96.7)15.34 AAA
亮蓝color12#82aaffrgb(130 170 255)hsl(221 100% 75%)oklch(74.4% 0.131 264.3)7.98 AAA
亮品红color13#c792eargb(199 146 234)hsl(276 68% 75%)oklch(74.3% 0.135 311.1)7.62 AAA
亮青color14#7fdbcargb(127 219 202)hsl(169 56% 68%)oklch(82.9% 0.092 180.7)11.25 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.33 AAA

关于 Night Owl

Night Owl 采用冷色调的深色背景(#011627),默认前景色为 #d6deeb。正文的 WCAG 对比度为 13.54:1(AAA),12 种 ANSI 彩色槽位平均对比度 9.01:1,最低 5.26:1。

色板整体色彩饱和度适中,其中红色为 #ef5350、绿色为 #22da6e、蓝色为 #82aaff、品红为 #c792ea。该配色归属 Night Owl 主题系列。

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

与 Night Owl 相似的配色

数据来源:iTerm2 Color Schemes (MIT)