跳到主要內容

Nucolors

Nucolors 是一套深色終端機配色(純黑、高對比),背景色 #000000,文字色 #ffffff,對比度 21.0:1

取得設定檔
背景色
#000000
前景色
#ffffff
文字對比度
21.00:1AAA
強調色對比度
14.04:1最低 9.37
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
❯

Nucolors 的設定檔

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

Nucolors

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

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

palette = 0=#393939
palette = 1=#ff9f95
palette = 2=#e2ffc7
palette = 3=#ffffb9
palette = 4=#a8ceea
palette = 5=#e2b5cc
palette = 6=#c2efff
palette = 7=#dddddd
palette = 8=#474747
palette = 9=#ff8d80
palette = 10=#dbffb3
palette = 11=#ffbe64
palette = 12=#7eb6ff
palette = 13=#e296ff
palette = 14=#9ce9ff
palette = 15=#dddddd
background = #000000
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #000000
selection-background = #222222
selection-foreground = #ffffff

Nucolors 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
光標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
光標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
選取範圍selection#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)1.32 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
黑color0#393939rgb(57 57 57)hsl(0 0% 22%)oklch(34.5% 0.000 0)1.82 低於 AA
紅color1#ff9f95rgb(255 159 149)hsl(6 100% 79%)oklch(79.7% 0.116 26.4)10.65 AAA
綠color2#e2ffc7rgb(226 255 199)hsl(91 100% 89%)oklch(96.5% 0.079 130.1)19.36 AAA
黃color3#ffffb9rgb(255 255 185)hsl(60 100% 86%)oklch(98.4% 0.088 107.9)20.26 AAA
藍color4#a8ceeargb(168 206 234)hsl(205 61% 79%)oklch(83.3% 0.056 240.3)12.68 AAA
洋紅color5#e2b5ccrgb(226 181 204)hsl(329 44% 80%)oklch(82.0% 0.060 346.4)11.72 AAA
青color6#c2efffrgb(194 239 255)hsl(196 100% 88%)oklch(92.6% 0.051 221.5)17.08 AAA
白color7#ddddddrgb(221 221 221)hsl(0 0% 87%)oklch(89.8% 0.000 0)15.46 AAA
亮黑color8#474747rgb(71 71 71)hsl(0 0% 28%)oklch(39.8% 0.000 0)2.26 低於 AA
亮紅color9#ff8d80rgb(255 141 128)hsl(6 100% 75%)oklch(76.4% 0.140 27.6)9.37 AAA
亮綠color10#dbffb3rgb(219 255 179)hsl(88 100% 85%)oklch(95.6% 0.105 128.8)18.97 AAA
亮黃color11#ffbe64rgb(255 190 100)hsl(35 100% 70%)oklch(84.4% 0.130 73.3)12.80 AAA
亮藍color12#7eb6ffrgb(126 182 255)hsl(214 100% 75%)oklch(76.7% 0.121 255.4)10.02 AAA
亮洋紅color13#e296ffrgb(226 150 255)hsl(283 100% 79%)oklch(78.6% 0.164 316.2)10.04 AAA
亮青color14#9ce9ffrgb(156 233 255)hsl(193 100% 81%)oklch(89.1% 0.081 217.7)15.51 AAA
亮白color15#ddddddrgb(221 221 221)hsl(0 0% 87%)oklch(89.8% 0.000 0)15.46 AAA

關於 Nucolors

Nucolors 採用中性色調的深色背景(#000000),預設前景色為 #ffffff。正文的 WCAG 對比度為 21.00:1(AAA),12 種 ANSI 彩色槽位平均對比度 14.04:1,最低 9.37:1。

色板整體色彩飽和度適中,其中紅色為 #ff9f95、綠色為 #e2ffc7、藍色為 #a8ceea、洋紅為 #e2b5cc。

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

與 Nucolors 相似的配色

資料來源:terminal.sexy (MIT)