跳到主要內容

Nebula Drift

Nebula Drift 是一套深色終端機配色(高對比、冷色),背景色 #0a0420,文字色 #e2e0fa,對比度 15.5:1

取得設定檔
背景色
#0a0420
前景色
#e2e0fa
文字對比度
15.48:1AAA
強調色對比度
9.92:1最低 6.82
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 Drift 的設定檔

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

Nebula Drift

存到 ~/.config/ghostty/themes/Nebula Drift,再在 config 或 config.ghostty 裡寫 theme = Nebula Drift

更多 Ghostty 配色
原始檔
# Theme: Nebula Drift (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/nebula-drift?format=ghostty

palette = 0=#1a0e38
palette = 1=#ff5c8d
palette = 2=#66e6a8
palette = 3=#ffcb6b
palette = 4=#7c9bff
palette = 5=#c77dff
palette = 6=#57e6f0
palette = 7=#c8c6e8
palette = 8=#5c5a88
palette = 9=#ff5c8d
palette = 10=#66e6a8
palette = 11=#ff9e64
palette = 12=#7c9bff
palette = 13=#c77dff
palette = 14=#57e6f0
palette = 15=#e2e0fa
background = #0a0420
foreground = #e2e0fa
cursor-color = #d58bff
cursor-text = #0a0420
selection-background = #221645
selection-foreground = #4a4460

Nebula Drift 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0a0420rgb(10 4 32)hsl(253 78% 7%)oklch(14.3% 0.059 288.5)—
前景色foreground#e2e0fargb(226 224 250)hsl(245 72% 93%)oklch(91.6% 0.035 289.2)15.48 AAA
游標cursor#d58bffrgb(213 139 255)hsl(278 100% 77%)oklch(75.6% 0.176 312.2)8.53 AAA
游標文字cursorText#0a0420rgb(10 4 32)hsl(253 78% 7%)oklch(14.3% 0.059 288.5)1.00 低於 AA
選取範圍selection#221645rgb(34 22 69)hsl(255 52% 18%)oklch(24.6% 0.084 290.6)1.21 低於 AA
選取文字selectionText#4a4460rgb(74 68 96)hsl(253 17% 32%)oklch(40.4% 0.047 294.0)2.18 低於 AA
黑color0#1a0e38rgb(26 14 56)hsl(257 60% 14%)oklch(21.0% 0.077 291.4)1.11 低於 AA
紅color1#ff5c8drgb(255 92 141)hsl(342 100% 68%)oklch(70.2% 0.201 5.5)6.82 AA
綠color2#66e6a8rgb(102 230 168)hsl(151 72% 65%)oklch(83.6% 0.145 159.7)12.79 AAA
黃color3#ffcb6brgb(255 203 107)hsl(39 100% 71%)oklch(86.9% 0.128 81.1)13.33 AAA
藍color4#7c9bffrgb(124 155 255)hsl(226 100% 74%)oklch(71.0% 0.150 269.3)7.60 AAA
洋紅color5#c77dffrgb(199 125 255)hsl(274 100% 75%)oklch(72.0% 0.193 308.6)7.43 AAA
青color6#57e6f0rgb(87 230 240)hsl(184 84% 64%)oklch(85.3% 0.121 201.7)13.30 AAA
白color7#c8c6e8rgb(200 198 232)hsl(244 42% 84%)oklch(83.9% 0.047 288.0)12.08 AAA
亮黑color8#5c5a88rgb(92 90 136)hsl(243 20% 44%)oklch(48.9% 0.073 285.3)3.11 AA 大字級
亮紅color9#ff5c8drgb(255 92 141)hsl(342 100% 68%)oklch(70.2% 0.201 5.5)6.82 AA
亮綠color10#66e6a8rgb(102 230 168)hsl(151 72% 65%)oklch(83.6% 0.145 159.7)12.79 AAA
亮黃color11#ff9e64rgb(255 158 100)hsl(22 100% 70%)oklch(78.7% 0.137 50.6)9.82 AAA
亮藍color12#7c9bffrgb(124 155 255)hsl(226 100% 74%)oklch(71.0% 0.150 269.3)7.60 AAA
亮洋紅color13#c77dffrgb(199 125 255)hsl(274 100% 75%)oklch(72.0% 0.193 308.6)7.43 AAA
亮青color14#57e6f0rgb(87 230 240)hsl(184 84% 64%)oklch(85.3% 0.121 201.7)13.30 AAA
亮白color15#e2e0fargb(226 224 250)hsl(245 72% 93%)oklch(91.6% 0.035 289.2)15.48 AAA

關於 Nebula Drift

Nebula Drift 採用冷色調的深色背景(#0a0420),預設前景色為 #e2e0fa。內文的 WCAG 對比度為 15.48:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.92:1,最低 6.82:1。

色票整體色彩彩度適中,其中紅色為 #ff5c8d、綠色為 #66e6a8、藍色為 #7c9bff、洋紅為 #c77dff。

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

與 Nebula Drift 相似的配色

資料來源:iTerm2 Color Schemes (MIT)