跳到主要內容

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