跳到正文

Night Pharmacy

Night Pharmacy 是一套深色终端配色(高对比度、粉彩),背景色 #07100b,文字色 #ecf5ef,对比度 17.4:1

获取配置
背景色
#07100b
前景色
#ecf5ef
文字对比度
17.35:1AAA
强调色对比度
10.78:1最低 7.46
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
❯

Night Pharmacy 的配置文件

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

Night Pharmacy

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

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

palette = 0=#afbeb5
palette = 1=#ef8088
palette = 2=#72d1a0
palette = 3=#e6cb69
palette = 4=#83b3e7
palette = 5=#cba0df
palette = 6=#72d3d0
palette = 7=#ecf5ef
palette = 8=#c4d0c9
palette = 9=#f19ba1
palette = 10=#91dfb7
palette = 11=#eddb8b
palette = 12=#a3c8ef
palette = 13=#dabbe8
palette = 14=#94e2df
palette = 15=#ffffff
background = #07100b
foreground = #ecf5ef
cursor-color = #7ff0bd
cursor-text = #07100b
selection-background = #173425
selection-foreground = #f5fff8

Night Pharmacy 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#07100brgb(7 16 11)hsl(147 39% 5%)oklch(16.2% 0.018 160.1)—
前景色foreground#ecf5efrgb(236 245 239)hsl(140 31% 94%)oklch(96.2% 0.012 157.0)17.35 AAA
光标cursor#7ff0bdrgb(127 240 189)hsl(153 79% 72%)oklch(87.4% 0.127 162.7)13.88 AAA
光标文字cursorText#07100brgb(7 16 11)hsl(147 39% 5%)oklch(16.2% 0.018 160.1)1.00 低于 AA
选区selection#173425rgb(23 52 37)hsl(149 39% 15%)oklch(29.7% 0.045 159.4)1.43 低于 AA
选区文字selectionText#f5fff8rgb(245 255 248)hsl(138 100% 98%)oklch(99.1% 0.014 155.6)18.88 AAA
黑color0#afbeb5rgb(175 190 181)hsl(144 10% 72%)oklch(78.7% 0.021 159.6)9.98 AAA
红color1#ef8088rgb(239 128 136)hsl(356 78% 72%)oklch(72.5% 0.136 16.5)7.46 AAA
绿color2#72d1a0rgb(114 209 160)hsl(149 51% 63%)oklch(78.9% 0.116 159.6)10.43 AAA
黄color3#e6cb69rgb(230 203 105)hsl(47 71% 66%)oklch(84.5% 0.122 94.2)12.05 AAA
蓝color4#83b3e7rgb(131 179 231)hsl(211 68% 71%)oklch(75.2% 0.091 251.1)8.79 AAA
品红color5#cba0dfrgb(203 160 223)hsl(281 50% 75%)oklch(76.6% 0.099 314.8)8.85 AAA
青color6#72d3d0rgb(114 211 208)hsl(178 52% 64%)oklch(80.7% 0.092 192.9)10.98 AAA
白color7#ecf5efrgb(236 245 239)hsl(140 31% 94%)oklch(96.2% 0.012 157.0)17.35 AAA
亮黑color8#c4d0c9rgb(196 208 201)hsl(145 11% 79%)oklch(84.6% 0.016 160.6)12.14 AAA
亮红color9#f19ba1rgb(241 155 161)hsl(356 75% 78%)oklch(77.7% 0.103 15.2)9.14 AAA
亮绿color10#91dfb7rgb(145 223 183)hsl(149 55% 72%)oklch(84.2% 0.096 161.1)12.36 AAA
亮黄color11#eddb8brgb(237 219 139)hsl(49 73% 74%)oklch(88.9% 0.102 97.0)13.88 AAA
亮蓝color12#a3c8efrgb(163 200 239)hsl(211 70% 79%)oklch(81.9% 0.068 250.0)11.09 AAA
亮品红color13#dabbe8rgb(218 187 232)hsl(281 49% 82%)oklch(83.3% 0.070 315.3)11.26 AAA
亮青color14#94e2dfrgb(148 226 223)hsl(178 57% 73%)oklch(86.2% 0.077 192.7)13.05 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.30 AAA

关于 Night Pharmacy

Night Pharmacy 采用中性色调的深色背景(#07100b),默认前景色为 #ecf5ef。正文的 WCAG 对比度为 17.35:1(AAA),12 种 ANSI 彩色槽位平均对比度 10.78:1,最低 7.46:1。

色板整体色彩饱和度适中,其中红色为 #ef8088、绿色为 #72d1a0、蓝色为 #83b3e7、品红为 #cba0df。

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

与 Night Pharmacy 相似的配色

数据来源:iTerm2 Color Schemes (MIT)