跳到正文

Nudge

Nudge 是一套深色终端配色(纯黑、柔和),背景色 #000000,文字色 #ffffff,对比度 21.0:1

获取配置
背景色
#000000
前景色
#ffffff
文字对比度
21.00:1AAA
强调色对比度
2.69: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
❯

Nudge 的配置文件

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

Nudge

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

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

palette = 0=#658280
palette = 1=#822f5d
palette = 2=#184a31
palette = 3=#9d4500
palette = 4=#304465
palette = 5=#330801
palette = 6=#175552
palette = 7=#110005
palette = 8=#8ca8a6
palette = 9=#a24b76
palette = 10=#28634d
palette = 11=#9d5823
palette = 12=#415c77
palette = 13=#532706
palette = 14=#3a6868
palette = 15=#330801
background = #000000
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #000000
selection-background = #222222
selection-foreground = #ffffff

Nudge 色板

色板各槽位的色值及其相对背景的 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#658280rgb(101 130 128)hsl(176 13% 45%)oklch(58.4% 0.033 191.1)5.06 AA
红color1#822f5drgb(130 47 93)hsl(327 47% 35%)oklch(44.0% 0.126 349.2)2.51 低于 AA
绿color2#184a31rgb(24 74 49)hsl(150 51% 19%)oklch(36.8% 0.069 158.3)2.06 低于 AA
黄color3#9d4500rgb(157 69 0)hsl(26 100% 31%)oklch(49.8% 0.135 48.5)3.28 AA 大字号
蓝color4#304465rgb(48 68 101)hsl(217 36% 29%)oklch(38.6% 0.062 260.1)2.14 低于 AA
品红color5#330801rgb(51 8 1)hsl(8 96% 10%)oklch(21.4% 0.071 35.3)1.18 低于 AA
青color6#175552rgb(23 85 82)hsl(177 57% 21%)oklch(41.0% 0.061 190.4)2.46 低于 AA
白color7#110005rgb(17 0 5)hsl(342 100% 3%)oklch(11.5% 0.047 358.1)1.03 低于 AA
亮黑color8#8ca8a6rgb(140 168 166)hsl(176 14% 60%)oklch(71.0% 0.031 191.2)8.27 AAA
亮红color9#a24b76rgb(162 75 118)hsl(330 37% 46%)oklch(53.6% 0.125 351.3)3.80 AA 大字号
亮绿color10#28634drgb(40 99 77)hsl(158 42% 27%)oklch(45.4% 0.072 166.0)2.98 低于 AA
亮黄color11#9d5823rgb(157 88 35)hsl(26 64% 38%)oklch(53.2% 0.112 54.5)3.85 AA 大字号
亮蓝color12#415c77rgb(65 92 119)hsl(210 29% 36%)oklch(46.5% 0.055 249.1)3.02 AA 大字号
亮品红color13#532706rgb(83 39 6)hsl(26 87% 17%)oklch(32.8% 0.078 52.0)1.66 低于 AA
亮青color14#3a6868rgb(58 104 104)hsl(180 28% 32%)oklch(48.5% 0.051 195.6)3.36 AA 大字号
亮白color15#330801rgb(51 8 1)hsl(8 96% 10%)oklch(21.4% 0.071 35.3)1.18 低于 AA

关于 Nudge

Nudge 采用中性色调的深色背景(#000000),默认前景色为 #ffffff。正文的 WCAG 对比度为 21.00:1(AAA),12 种 ANSI 彩色槽位平均对比度 2.69:1,最低 1.18:1。

色板整体色彩饱和度偏低,其中红色为 #822f5d、绿色为 #184a31、蓝色为 #304465、品红为 #330801。

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

与 Nudge 相似的配色

数据来源:terminal.sexy (MIT)