跳到主要內容

Hardhacker

Hardhacker 是一套深色終端機配色(粉彩、冷色),背景色 #211e2a,文字色 #e4dee9,對比度 12.4:1

取得設定檔
背景色
#211e2a
前景色
#e4dee9
文字對比度
12.40:1AAA
強調色對比度
9.51:1最低 5.35
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
❯

Hardhacker 的設定檔

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

Hardhacker

存到 ~/.config/ghostty/themes/Hardhacker,再在 config 或 config.ghostty 裏寫 theme = Hardhacker

更多 Ghostty 配色
原始檔案
# Theme: Hardhacker (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/hardhacker?format=ghostty

palette = 0=#211e2a
palette = 1=#e965a5
palette = 2=#b1f2a7
palette = 3=#ebde76
palette = 4=#95a6f4
palette = 5=#ff79c6
palette = 6=#b3f4f3
palette = 7=#e4dee9
palette = 8=#6e6780
palette = 9=#e965a5
palette = 10=#b1f2a7
palette = 11=#ebde76
palette = 12=#95a6f4
palette = 13=#ff79c6
palette = 14=#b3f4f3
palette = 15=#ffffff
background = #211e2a
foreground = #e4dee9
cursor-color = #e4dee9
cursor-text = #211e2a
selection-background = #4c4855
selection-foreground = #e4dee9

Hardhacker 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#211e2argb(33 30 42)hsl(255 17% 14%)oklch(24.4% 0.023 296.1)—
前景色foreground#e4dee9rgb(228 222 233)hsl(273 20% 89%)oklch(90.9% 0.016 310.1)12.40 AAA
光標cursor#e4dee9rgb(228 222 233)hsl(273 20% 89%)oklch(90.9% 0.016 310.1)12.40 AAA
光標文字cursorText#211e2argb(33 30 42)hsl(255 17% 14%)oklch(24.4% 0.023 296.1)1.00 低於 AA
選取範圍selection#4c4855rgb(76 72 85)hsl(258 8% 31%)oklch(41.0% 0.022 299.5)1.84 低於 AA
選取文字selectionText#e4dee9rgb(228 222 233)hsl(273 20% 89%)oklch(90.9% 0.016 310.1)12.40 AAA
黑color0#211e2argb(33 30 42)hsl(255 17% 14%)oklch(24.4% 0.023 296.1)1.00 低於 AA
紅color1#e965a5rgb(233 101 165)hsl(331 75% 65%)oklch(68.8% 0.176 352.5)5.35 AA
綠color2#b1f2a7rgb(177 242 167)hsl(112 74% 80%)oklch(89.9% 0.120 141.2)12.56 AAA
黃color3#ebde76rgb(235 222 118)hsl(53 75% 69%)oklch(89.0% 0.126 102.2)11.87 AAA
藍color4#95a6f4rgb(149 166 244)hsl(229 81% 77%)oklch(74.3% 0.115 273.9)7.04 AAA
洋紅color5#ff79c6rgb(255 121 198)hsl(326 100% 74%)oklch(75.5% 0.183 346.8)6.86 AA
青color6#b3f4f3rgb(179 244 243)hsl(179 75% 83%)oklch(92.4% 0.065 194.9)13.36 AAA
白color7#e4dee9rgb(228 222 233)hsl(273 20% 89%)oklch(90.9% 0.016 310.1)12.40 AAA
亮黑color8#6e6780rgb(110 103 128)hsl(257 11% 45%)oklch(52.9% 0.040 297.9)3.05 AA 大字體
亮紅color9#e965a5rgb(233 101 165)hsl(331 75% 65%)oklch(68.8% 0.176 352.5)5.35 AA
亮綠color10#b1f2a7rgb(177 242 167)hsl(112 74% 80%)oklch(89.9% 0.120 141.2)12.56 AAA
亮黃color11#ebde76rgb(235 222 118)hsl(53 75% 69%)oklch(89.0% 0.126 102.2)11.87 AAA
亮藍color12#95a6f4rgb(149 166 244)hsl(229 81% 77%)oklch(74.3% 0.115 273.9)7.04 AAA
亮洋紅color13#ff79c6rgb(255 121 198)hsl(326 100% 74%)oklch(75.5% 0.183 346.8)6.86 AA
亮青color14#b3f4f3rgb(179 244 243)hsl(179 75% 83%)oklch(92.4% 0.065 194.9)13.36 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.36 AAA

關於 Hardhacker

Hardhacker 採用冷色調的深色背景(#211e2a),預設前景色為 #e4dee9。正文的 WCAG 對比度為 12.40:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.51:1,最低 5.35:1。

色板整體色彩飽和度適中,其中紅色為 #e965a5、綠色為 #b1f2a7、藍色為 #95a6f4、洋紅為 #ff79c6。

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

該色板在上游儲存庫中亦曾以 Soft Server 的名稱發佈

與 Hardhacker 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)