跳到主要內容

HN After Dark

HN After Dark 是一套深色終端機配色,背景色 #181818,文字色 #f6f6ef,對比度 16.4:1

取得設定檔
背景色
#181818
前景色
#f6f6ef
文字對比度
16.36:1AAA
強調色對比度
8.72:1最低 5.87
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
❯

HN After Dark 的設定檔

16 種格式,都從同一份色票產生

HN After Dark

存到 ~/.config/ghostty/themes/HN After Dark,再在 config 或 config.ghostty 裡寫 theme = HN After Dark

更多 Ghostty 配色
原始檔
# Theme: HN After Dark (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/hn-after-dark?format=ghostty

palette = 0=#858585
palette = 1=#ff765c
palette = 2=#65c878
palette = 3=#e5b94d
palette = 4=#5599ff
palette = 5=#c27acb
palette = 6=#53c5e8
palette = 7=#dddddd
palette = 8=#929292
palette = 9=#ff916f
palette = 10=#85dc94
palette = 11=#f2d17b
palette = 12=#83b7ff
palette = 13=#d89ce0
palette = 14=#78dbee
palette = 15=#ffffff
background = #181818
foreground = #f6f6ef
cursor-color = #ff6600
cursor-text = #181818
selection-background = #454545
selection-foreground = #ffffff

HN After Dark 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#181818rgb(24 24 24)hsl(0 0% 9%)oklch(20.9% 0.000 0)—
前景色foreground#f6f6efrgb(246 246 239)hsl(60 28% 95%)oklch(97.1% 0.009 106.6)16.36 AAA
游標cursor#ff6600rgb(255 102 0)hsl(24 100% 50%)oklch(69.6% 0.204 43.5)6.05 AA
游標文字cursorText#181818rgb(24 24 24)hsl(0 0% 9%)oklch(20.9% 0.000 0)1.00 低於 AA
選取範圍selection#454545rgb(69 69 69)hsl(0 0% 27%)oklch(39.0% 0.000 0)1.85 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.76 AAA
黑color0#858585rgb(133 133 133)hsl(0 0% 52%)oklch(61.7% 0.000 0)4.81 AA
紅color1#ff765crgb(255 118 92)hsl(10 100% 68%)oklch(72.4% 0.173 32.4)6.76 AA
綠color2#65c878rgb(101 200 120)hsl(132 47% 59%)oklch(75.3% 0.147 148.2)8.53 AAA
黃color3#e5b94drgb(229 185 77)hsl(43 75% 60%)oklch(80.5% 0.134 86.6)9.62 AAA
藍color4#5599ffrgb(85 153 255)hsl(216 100% 67%)oklch(68.6% 0.166 258.4)6.25 AA
洋紅color5#c27acbrgb(194 122 203)hsl(293 44% 64%)oklch(68.4% 0.139 322.9)5.87 AA
青color6#53c5e8rgb(83 197 232)hsl(194 76% 62%)oklch(77.2% 0.113 221.5)8.89 AAA
白color7#ddddddrgb(221 221 221)hsl(0 0% 87%)oklch(89.8% 0.000 0)13.07 AAA
亮黑color8#929292rgb(146 146 146)hsl(0 0% 57%)oklch(66.0% 0.000 0)5.71 AA
亮紅color9#ff916frgb(255 145 111)hsl(14 100% 72%)oklch(76.7% 0.141 37.9)8.06 AAA
亮綠color10#85dc94rgb(133 220 148)hsl(130 55% 69%)oklch(82.1% 0.132 148.5)10.71 AAA
亮黃color11#f2d17brgb(242 209 123)hsl(43 82% 72%)oklch(87.1% 0.112 89.0)11.99 AAA
亮藍color12#83b7ffrgb(131 183 255)hsl(215 100% 76%)oklch(77.2% 0.118 256.7)8.61 AAA
亮洋紅color13#d89ce0rgb(216 156 224)hsl(293 52% 75%)oklch(77.3% 0.115 322.5)8.25 AAA
亮青color14#78dbeergb(120 219 238)hsl(190 78% 70%)oklch(83.8% 0.097 211.5)11.13 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.76 AAA

關於 HN After Dark

HN After Dark 採用中性色調的深色背景(#181818),預設前景色為 #f6f6ef。內文的 WCAG 對比度為 16.36:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.72:1,最低 5.87:1。

色票整體色彩彩度適中,其中紅色為 #ff765c、綠色為 #65c878、藍色為 #5599ff、洋紅為 #c27acb。

支援一鍵匯出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 終端機設定檔,同時提供 VS Code 與 Zed 整合式終端機、CSS 變數、Tailwind CSS 及 JSON 色票格式。

與 HN After Dark 相似的配色

資料來源:iTerm2 Color Schemes (MIT)