跳到主要內容

N0Tch2K

N0Tch2K 是一套深色終端機配色(柔和、低彩度),背景色 #222222,文字色 #a0a0a0,對比度 6.1:1

取得設定檔
背景色
#222222
前景色
#a0a0a0
文字對比度
6.08:1AA
強調色對比度
5.54:1最低 2.77
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
❯

N0Tch2K 的設定檔

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

N0Tch2K

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

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

palette = 0=#383838
palette = 1=#a95551
palette = 2=#666666
palette = 3=#a98051
palette = 4=#657d3e
palette = 5=#767676
palette = 6=#c9c9c9
palette = 7=#d0b8a3
palette = 8=#474747
palette = 9=#a97775
palette = 10=#8c8c8c
palette = 11=#a99175
palette = 12=#98bd5e
palette = 13=#a3a3a3
palette = 14=#dcdcdc
palette = 15=#d8c8bb
background = #222222
foreground = #a0a0a0
cursor-color = #aa9175
cursor-text = #000000
selection-background = #4d4d4d
selection-foreground = #ffffff

N0Tch2K 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)—
前景色foreground#a0a0a0rgb(160 160 160)hsl(0 0% 63%)oklch(70.6% 0.000 0)6.08 AA
游標cursor#aa9175rgb(170 145 117)hsl(32 24% 56%)oklch(67.2% 0.050 70.0)5.32 AA
游標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.32 低於 AA
選取範圍selection#4d4d4drgb(77 77 77)hsl(0 0% 30%)oklch(42.0% 0.000 0)1.88 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.91 AAA
黑color0#383838rgb(56 56 56)hsl(0 0% 22%)oklch(34.1% 0.000 0)1.36 低於 AA
紅color1#a95551rgb(169 85 81)hsl(3 35% 49%)oklch(55.0% 0.111 24.2)3.11 AA 大字級
綠color2#666666rgb(102 102 102)hsl(0 0% 40%)oklch(51.0% 0.000 0)2.77 低於 AA
黃color3#a98051rgb(169 128 81)hsl(32 35% 49%)oklch(62.9% 0.081 69.3)4.47 AA 大字級
藍color4#657d3ergb(101 125 62)hsl(83 34% 37%)oklch(55.5% 0.093 126.4)3.45 AA 大字級
洋紅color5#767676rgb(118 118 118)hsl(0 0% 46%)oklch(56.6% 0.000 0)3.50 AA 大字級
青color6#c9c9c9rgb(201 201 201)hsl(0 0% 79%)oklch(83.6% 0.000 0)9.61 AAA
白color7#d0b8a3rgb(208 184 163)hsl(28 32% 73%)oklch(79.7% 0.040 63.4)8.38 AAA
亮黑color8#474747rgb(71 71 71)hsl(0 0% 28%)oklch(39.8% 0.000 0)1.71 低於 AA
亮紅color9#a97775rgb(169 119 117)hsl(2 23% 56%)oklch(61.9% 0.063 21.6)4.23 AA 大字級
亮綠color10#8c8c8crgb(140 140 140)hsl(0 0% 55%)oklch(64.0% 0.000 0)4.73 AA
亮黃color11#a99175rgb(169 145 117)hsl(32 23% 56%)oklch(67.1% 0.049 71.1)5.30 AA
亮藍color12#98bd5ergb(152 189 94)hsl(83 42% 55%)oklch(75.0% 0.130 126.9)7.41 AAA
亮洋紅color13#a3a3a3rgb(163 163 163)hsl(0 0% 64%)oklch(71.5% 0.000 0)6.31 AA
亮青color14#dcdcdcrgb(220 220 220)hsl(0 0% 86%)oklch(89.4% 0.000 0)11.60 AAA
亮白color15#d8c8bbrgb(216 200 187)hsl(27 27% 79%)oklch(84.2% 0.025 61.6)9.77 AAA

關於 N0Tch2K

N0Tch2K 採用中性色調的深色背景(#222222),預設前景色為 #a0a0a0。內文的 WCAG 對比度為 6.08:1(AA),12 種 ANSI 彩色槽位平均對比度 5.54:1,最低 2.77:1。

色票整體色彩彩度偏低,其中紅色為 #a95551、綠色為 #666666、藍色為 #657d3e、洋紅為 #767676。

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

與 N0Tch2K 相似的配色

資料來源:iTerm2 Color Schemes (MIT)