跳到主要內容

Nep

Nep 是一套深色終端機配色(柔和、鮮艷),背景色 #758480,文字色 #23476a,對比度 2.5:1

取得設定檔
背景色
#758480
前景色
#23476a
文字對比度
2.46:1低於 AA
強調色對比度
1.96:1最低 1.18
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
❯

Nep 的設定檔

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

Nep

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

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

palette = 0=#000000
palette = 1=#dd6f00
palette = 2=#00dd6f
palette = 3=#6fdd00
palette = 4=#6f00dd
palette = 5=#dd006f
palette = 6=#006fdd
palette = 7=#f2f2f2
palette = 8=#7d7d7d
palette = 9=#ffb974
palette = 10=#74ffb9
palette = 11=#b9ff74
palette = 12=#b974ff
palette = 13=#ff74b9
palette = 14=#74b9ff
palette = 15=#ffffff
background = #758480
foreground = #23476a
cursor-color = #23476a
cursor-text = #758480
selection-background = #60757b
selection-foreground = #23476a

Nep 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#758480rgb(117 132 128)hsl(164 6% 49%)oklch(60.0% 0.019 177.9)—
前景色foreground#23476argb(35 71 106)hsl(210 50% 28%)oklch(38.9% 0.073 249.6)2.46 低於 AA
光標cursor#23476argb(35 71 106)hsl(210 50% 28%)oklch(38.9% 0.073 249.6)2.46 低於 AA
光標文字cursorText#758480rgb(117 132 128)hsl(164 6% 49%)oklch(60.0% 0.019 177.9)1.00 低於 AA
選取範圍selection#60757brgb(96 117 123)hsl(193 12% 43%)oklch(54.8% 0.026 217.0)1.24 低於 AA
選取文字selectionText#23476argb(35 71 106)hsl(210 50% 28%)oklch(38.9% 0.073 249.6)2.46 低於 AA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)5.37 AA
紅color1#dd6f00rgb(221 111 0)hsl(30 100% 43%)oklch(65.8% 0.166 53.4)1.18 低於 AA
綠color2#00dd6frgb(0 221 111)hsl(150 100% 43%)oklch(78.6% 0.210 151.4)2.16 低於 AA
黃color3#6fdd00rgb(111 221 0)hsl(90 100% 43%)oklch(80.0% 0.237 135.8)2.24 低於 AA
藍color4#6f00ddrgb(111 0 221)hsl(270 100% 43%)oklch(47.7% 0.263 294.3)1.97 低於 AA
洋紅color5#dd006frgb(221 0 111)hsl(330 100% 43%)oklch(58.0% 0.234 2.1)1.25 低於 AA
青color6#006fddrgb(0 111 221)hsl(210 100% 43%)oklch(55.4% 0.188 255.8)1.24 低於 AA
白color7#f2f2f2rgb(242 242 242)hsl(0 0% 95%)oklch(96.1% 0.000 0)3.49 AA 大字體
亮黑color8#7d7d7drgb(125 125 125)hsl(0 0% 49%)oklch(59.0% 0.000 0)1.05 低於 AA
亮紅color9#ffb974rgb(255 185 116)hsl(30 100% 73%)oklch(83.7% 0.118 64.6)2.32 低於 AA
亮綠color10#74ffb9rgb(116 255 185)hsl(150 100% 73%)oklch(90.5% 0.157 158.9)3.12 AA 大字體
亮黃color11#b9ff74rgb(185 255 116)hsl(90 100% 73%)oklch(92.5% 0.184 131.4)3.28 AA 大字體
亮藍color12#b974ffrgb(185 116 255)hsl(270 100% 73%)oklch(69.2% 0.203 304.6)1.30 低於 AA
亮洋紅color13#ff74b9rgb(255 116 185)hsl(330 100% 73%)oklch(74.4% 0.184 351.5)1.57 低於 AA
亮青color14#74b9ffrgb(116 185 255)hsl(210 100% 73%)oklch(76.8% 0.123 250.0)1.89 低於 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)3.91 AA 大字體

關於 Nep

Nep 採用冷色調的深色背景(#758480),預設前景色為 #23476a。正文的 WCAG 對比度為 2.46:1(低於 AA),12 種 ANSI 彩色槽位平均對比度 1.96:1,最低 1.18:1。

色板整體色彩飽和度較高,其中紅色為 #dd6f00、綠色為 #00dd6f、藍色為 #6f00dd、洋紅為 #dd006f。

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

與 Nep 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)