跳到正文

Nord

Nord 是一套深色终端配色(低饱和、冷色),背景色 #2e3440,文字色 #d8dee9,对比度 9.3:1

获取配置
背景色
#2e3440
前景色
#d8dee9
文字对比度
9.25:1AAA
强调色对比度
5.39:1最低 3.05
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
❯

Nord 的配置文件

16 种格式,都从同一份色板生成

Nord

存到 ~/.config/ghostty/themes/Nord,再在 config 或 config.ghostty 里写 theme = Nord

更多 Ghostty 配色
原始文件
# Theme: Nord (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/nord?format=ghostty

palette = 0=#3b4252
palette = 1=#bf616a
palette = 2=#a3be8c
palette = 3=#ebcb8b
palette = 4=#81a1c1
palette = 5=#b48ead
palette = 6=#88c0d0
palette = 7=#e5e9f0
palette = 8=#4c566a
palette = 9=#bf616a
palette = 10=#a3be8c
palette = 11=#ebcb8b
palette = 12=#81a1c1
palette = 13=#b48ead
palette = 14=#8fbcbb
palette = 15=#eceff4
background = #2e3440
foreground = #d8dee9
cursor-color = #eceff4
cursor-text = #282828
selection-background = #eceff4
selection-foreground = #4c566a

Nord 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#2e3440rgb(46 52 64)hsl(220 16% 22%)oklch(32.4% 0.023 264.2)—
前景色foreground#d8dee9rgb(216 222 233)hsl(219 28% 88%)oklch(89.9% 0.016 262.7)9.25 AAA
光标cursor#eceff4rgb(236 239 244)hsl(218 27% 94%)oklch(95.1% 0.007 260.7)10.84 AAA
光标文字cursorText#282828rgb(40 40 40)hsl(0 0% 16%)oklch(27.7% 0.000 0)1.18 低于 AA
选区selection#eceff4rgb(236 239 244)hsl(218 27% 94%)oklch(95.1% 0.007 260.7)10.84 AAA
选区文字selectionText#4c566argb(76 86 106)hsl(220 16% 36%)oklch(45.2% 0.035 264.1)1.69 低于 AA
黑color0#3b4252rgb(59 66 82)hsl(222 16% 28%)oklch(37.9% 0.029 266.5)1.24 低于 AA
红color1#bf616argb(191 97 106)hsl(354 42% 56%)oklch(60.6% 0.121 15.3)3.05 AA 大字号
绿color2#a3be8crgb(163 190 140)hsl(92 28% 65%)oklch(76.8% 0.075 131.1)6.13 AA
黄color3#ebcb8brgb(235 203 139)hsl(40 71% 73%)oklch(85.5% 0.089 84.1)8.00 AAA
蓝color4#81a1c1rgb(129 161 193)hsl(210 34% 63%)oklch(69.7% 0.059 248.7)4.64 AA
品红color5#b48eadrgb(180 142 173)hsl(311 20% 63%)oklch(69.2% 0.062 332.7)4.41 AA 大字号
青color6#88c0d0rgb(136 192 208)hsl(193 43% 67%)oklch(77.5% 0.062 217.5)6.24 AA
白color7#e5e9f0rgb(229 233 240)hsl(218 27% 92%)oklch(93.3% 0.010 261.8)10.26 AAA
亮黑color8#4c566argb(76 86 106)hsl(220 16% 36%)oklch(45.2% 0.035 264.1)1.69 低于 AA
亮红color9#bf616argb(191 97 106)hsl(354 42% 56%)oklch(60.6% 0.121 15.3)3.05 AA 大字号
亮绿color10#a3be8crgb(163 190 140)hsl(92 28% 65%)oklch(76.8% 0.075 131.1)6.13 AA
亮黄color11#ebcb8brgb(235 203 139)hsl(40 71% 73%)oklch(85.5% 0.089 84.1)8.00 AAA
亮蓝color12#81a1c1rgb(129 161 193)hsl(210 34% 63%)oklch(69.7% 0.059 248.7)4.64 AA
亮品红color13#b48eadrgb(180 142 173)hsl(311 20% 63%)oklch(69.2% 0.062 332.7)4.41 AA 大字号
亮青color14#8fbcbbrgb(143 188 187)hsl(179 25% 65%)oklch(76.3% 0.048 194.5)5.99 AA
亮白color15#eceff4rgb(236 239 244)hsl(218 27% 94%)oklch(95.1% 0.007 260.7)10.84 AAA

关于 Nord

Nord 采用冷色调的深色背景(#2e3440),默认前景色为 #d8dee9。正文的 WCAG 对比度为 9.25:1(AAA),12 种 ANSI 彩色槽位平均对比度 5.39:1,最低 3.05:1。

色板整体色彩饱和度偏低,其中红色为 #bf616a、绿色为 #a3be8c、蓝色为 #81a1c1、品红为 #b48ead。该配色归属 Nord 主题系列。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Nord 相似的配色

数据来源:iTerm2 Color Schemes (MIT)