跳到正文

Pale Night Hc

Pale Night Hc 是一套深色终端配色(柔和、粉彩),背景色 #3e4251,文字色 #cccccc,对比度 6.2:1

获取配置
背景色
#3e4251
前景色
#cccccc
文字对比度
6.22:1AA
强调色对比度
6.15:1最低 3.49
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
❯

Pale Night Hc 的配置文件

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

Pale Night Hc

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

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

palette = 0=#000000
palette = 1=#f07178
palette = 2=#c3e88d
palette = 3=#ffcb6b
palette = 4=#82aaff
palette = 5=#c792ea
palette = 6=#89ddff
palette = 7=#ffffff
palette = 8=#666666
palette = 9=#f6a9ae
palette = 10=#dbf1ba
palette = 11=#ffdfa6
palette = 12=#b4ccff
palette = 13=#ddbdf2
palette = 14=#b8eaff
palette = 15=#999999
background = #3e4251
foreground = #cccccc
cursor-color = #ffcb6b
cursor-text = #323232
selection-background = #717cb4
selection-foreground = #80cbc4

Pale Night Hc 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#3e4251rgb(62 66 81)hsl(227 13% 28%)oklch(38.1% 0.026 273.4)—
前景色foreground#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)6.22 AA
光标cursor#ffcb6brgb(255 203 107)hsl(39 100% 71%)oklch(86.9% 0.128 81.1)6.66 AA
光标文字cursorText#323232rgb(50 50 50)hsl(0 0% 20%)oklch(31.7% 0.000 0)1.28 低于 AA
选区selection#717cb4rgb(113 124 180)hsl(230 31% 57%)oklch(60.0% 0.086 275.0)2.49 低于 AA
选区文字selectionText#80cbc4rgb(128 203 196)hsl(174 42% 65%)oklch(79.1% 0.075 188.2)5.35 AA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)2.10 低于 AA
红color1#f07178rgb(240 113 120)hsl(357 81% 69%)oklch(70.1% 0.157 18.6)3.49 AA 大字号
绿color2#c3e88drgb(195 232 141)hsl(84 66% 73%)oklch(88.4% 0.124 126.8)7.25 AAA
黄color3#ffcb6brgb(255 203 107)hsl(39 100% 71%)oklch(86.9% 0.128 81.1)6.66 AA
蓝color4#82aaffrgb(130 170 255)hsl(221 100% 75%)oklch(74.4% 0.131 264.3)4.35 AA 大字号
品红color5#c792eargb(199 146 234)hsl(276 68% 75%)oklch(74.3% 0.135 311.1)4.15 AA 大字号
青color6#89ddffrgb(137 221 255)hsl(197 100% 77%)oklch(85.6% 0.094 225.9)6.59 AA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)9.99 AAA
亮黑color8#666666rgb(102 102 102)hsl(0 0% 40%)oklch(51.0% 0.000 0)1.74 低于 AA
亮红color9#f6a9aergb(246 169 174)hsl(356 81% 81%)oklch(81.0% 0.091 15.0)5.33 AA
亮绿color10#dbf1bargb(219 241 186)hsl(84 66% 84%)oklch(92.8% 0.076 125.6)8.23 AAA
亮黄color11#ffdfa6rgb(255 223 166)hsl(38 100% 83%)oklch(91.7% 0.081 81.7)7.78 AAA
亮蓝color12#b4ccffrgb(180 204 255)hsl(221 100% 85%)oklch(84.5% 0.076 265.1)6.19 AA
亮品红color13#ddbdf2rgb(221 189 242)hsl(276 67% 85%)oklch(84.3% 0.080 311.8)6.01 AA
亮青color14#b8eaffrgb(184 234 255)hsl(198 100% 86%)oklch(90.9% 0.059 225.5)7.73 AAA
亮白color15#999999rgb(153 153 153)hsl(0 0% 60%)oklch(68.3% 0.000 0)3.51 AA 大字号

关于 Pale Night Hc

Pale Night Hc 采用冷色调的深色背景(#3e4251),默认前景色为 #cccccc。正文的 WCAG 对比度为 6.22:1(AA),12 种 ANSI 彩色槽位平均对比度 6.15:1,最低 3.49:1。

色板整体色彩饱和度适中,其中红色为 #f07178、绿色为 #c3e88d、蓝色为 #82aaff、品红为 #c792ea。

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

与 Pale Night Hc 相似的配色

数据来源:iTerm2 Color Schemes (MIT)