跳到主要內容

Noctis

Noctis 是一套深色終端機配色(冷色),背景色 #052529,文字色 #b2cacd,對比度 9.4:1

取得設定檔
背景色
#052529
前景色
#b2cacd
文字對比度
9.38:1AAA
強調色對比度
7.70:1最低 4.81
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
❯

Noctis 的設定檔

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

Noctis

存到 ~/.config/ghostty/themes/Noctis,再在 config 或 config.ghostty 裏寫 theme = Noctis

更多 Ghostty 配色
原始檔案
# Theme: Noctis (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/noctis?format=ghostty

palette = 0=#324a4d
palette = 1=#e66533
palette = 2=#49e9a6
palette = 3=#e4b781
palette = 4=#49ace9
palette = 5=#df769b
palette = 6=#49d6e9
palette = 7=#b2cacd
palette = 8=#47686c
palette = 9=#e97749
palette = 10=#60ebb1
palette = 11=#e69533
palette = 12=#60b6eb
palette = 13=#e798b3
palette = 14=#60dbeb
palette = 15=#c1d4d7
background = #052529
foreground = #b2cacd
cursor-color = #b2cacd
cursor-text = #052529
selection-background = #0f3a3f
selection-foreground = #b2cacd

Noctis 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#052529rgb(5 37 41)hsl(187 78% 9%)oklch(24.4% 0.037 206.9)—
前景色foreground#b2cacdrgb(178 202 205)hsl(187 21% 75%)oklch(82.2% 0.026 205.8)9.38 AAA
光標cursor#b2cacdrgb(178 202 205)hsl(187 21% 75%)oklch(82.2% 0.026 205.8)9.38 AAA
光標文字cursorText#052529rgb(5 37 41)hsl(187 78% 9%)oklch(24.4% 0.037 206.9)1.00 低於 AA
選取範圍selection#0f3a3frgb(15 58 63)hsl(186 62% 15%)oklch(32.2% 0.047 206.1)1.30 低於 AA
選取文字selectionText#b2cacdrgb(178 202 205)hsl(187 21% 75%)oklch(82.2% 0.026 205.8)9.38 AAA
黑color0#324a4drgb(50 74 77)hsl(187 21% 25%)oklch(39.1% 0.030 205.8)1.71 低於 AA
紅color1#e66533rgb(230 101 51)hsl(17 78% 55%)oklch(65.9% 0.173 40.3)4.81 AA
綠color2#49e9a6rgb(73 233 166)hsl(155 78% 60%)oklch(83.5% 0.163 161.1)10.35 AAA
黃color3#e4b781rgb(228 183 129)hsl(33 65% 70%)oklch(80.7% 0.087 71.2)8.74 AAA
藍color4#49ace9rgb(73 172 233)hsl(203 78% 60%)oklch(71.2% 0.128 239.3)6.42 AA
洋紅color5#df769brgb(223 118 155)hsl(339 62% 67%)oklch(69.5% 0.136 358.8)5.53 AA
青color6#49d6e9rgb(73 214 233)hsl(187 78% 60%)oklch(80.9% 0.120 208.0)9.27 AAA
白color7#b2cacdrgb(178 202 205)hsl(187 21% 75%)oklch(82.2% 0.026 205.8)9.38 AAA
亮黑color8#47686crgb(71 104 108)hsl(186 21% 35%)oklch(49.4% 0.039 205.5)2.66 低於 AA
亮紅color9#e97749rgb(233 119 73)hsl(17 78% 60%)oklch(69.2% 0.154 41.8)5.53 AA
亮綠color10#60ebb1rgb(96 235 177)hsl(155 78% 65%)oklch(84.9% 0.147 162.8)10.76 AAA
亮黃color11#e69533rgb(230 149 51)hsl(33 78% 55%)oklch(73.6% 0.145 66.4)6.69 AA
亮藍color12#60b6ebrgb(96 182 235)hsl(203 78% 65%)oklch(74.4% 0.113 238.0)7.20 AAA
亮洋紅color13#e798b3rgb(231 152 179)hsl(339 62% 75%)oklch(76.6% 0.100 357.6)7.32 AAA
亮青color14#60dbebrgb(96 219 235)hsl(187 78% 65%)oklch(82.8% 0.111 206.9)9.85 AAA
亮白color15#c1d4d7rgb(193 212 215)hsl(188 22% 80%)oklch(85.7% 0.021 208.1)10.49 AAA

關於 Noctis

Noctis 採用冷色調的深色背景(#052529),預設前景色為 #b2cacd。正文的 WCAG 對比度為 9.38:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.70:1,最低 4.81:1。

色板整體色彩飽和度適中,其中紅色為 #e66533、綠色為 #49e9a6、藍色為 #49ace9、洋紅為 #df769b。該配色歸屬 Noctis 主題系列。

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

與 Noctis 相似的配色

資料來源:iTerm2 Color Schemes (MIT)