跳到主要內容

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/zh-tw/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)