跳到主要內容

H Pux

H Pux 是一套淺色終端機配色(柔和、鮮豔),背景色 #d1bca7,文字色 #000000,對比度 11.5:1

取得設定檔
背景色
#d1bca7
前景色
#000000
文字對比度
11.46:1AAA
強調色對比度
2.98:1最低 1.08
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
❯

H Pux 的設定檔

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

H Pux

存到 ~/.config/ghostty/themes/H Pux,再在 config 或 config.ghostty 裡寫 theme = H Pux

更多 Ghostty 配色
原始檔
# Theme: H Pux (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/h-pux?format=ghostty

palette = 0=#000000
palette = 1=#8c0000
palette = 2=#007d00
palette = 3=#8c7000
palette = 4=#003cb4
palette = 5=#820082
palette = 6=#008b8b
palette = 7=#bbbbbb
palette = 8=#545454
palette = 9=#ff0000
palette = 10=#00ee00
palette = 11=#ffff00
palette = 12=#0000ff
palette = 13=#ff00ff
palette = 14=#00cdcd
palette = 15=#ffffff
background = #d1bca7
foreground = #000000
cursor-color = #000000
cursor-text = #d1bca7
selection-background = #8e7f70
selection-foreground = #000000

H Pux 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#d1bca7rgb(209 188 167)hsl(30 31% 74%)oklch(80.7% 0.037 67.3)—
前景色foreground#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)11.46 AAA
游標cursor#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)11.46 AAA
游標文字cursorText#d1bca7rgb(209 188 167)hsl(30 31% 74%)oklch(80.7% 0.037 67.3)1.00 低於 AA
選取範圍selection#8e7f70rgb(142 127 112)hsl(30 12% 50%)oklch(60.6% 0.029 67.2)2.11 低於 AA
選取文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)11.46 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)11.46 AAA
紅color1#8c0000rgb(140 0 0)hsl(0 100% 27%)oklch(40.2% 0.165 29.2)5.42 AA
綠color2#007d00rgb(0 125 0)hsl(120 100% 25%)oklch(51.1% 0.174 142.5)2.91 低於 AA
黃color3#8c7000rgb(140 112 0)hsl(48 100% 27%)oklch(55.6% 0.114 91.4)2.59 低於 AA
藍color4#003cb4rgb(0 60 180)hsl(220 100% 35%)oklch(41.5% 0.197 262.3)4.97 AA
洋紅color5#820082rgb(130 0 130)hsl(300 100% 25%)oklch(42.6% 0.196 328.4)5.05 AA
青color6#008b8brgb(0 139 139)hsl(180 100% 27%)oklch(57.7% 0.098 194.8)2.26 低於 AA
白color7#bbbbbbrgb(187 187 187)hsl(0 0% 73%)oklch(79.2% 0.000 0)1.05 低於 AA
亮黑color8#545454rgb(84 84 84)hsl(0 0% 33%)oklch(44.6% 0.000 0)4.13 AA 大字級
亮紅color9#ff0000rgb(255 0 0)hsl(0 100% 50%)oklch(62.8% 0.258 29.2)2.18 低於 AA
亮綠color10#00ee00rgb(0 238 0)hsl(120 100% 47%)oklch(82.2% 0.280 142.5)1.15 低於 AA
亮黃color11#ffff00rgb(255 255 0)hsl(60 100% 50%)oklch(96.8% 0.211 109.8)1.71 低於 AA
亮藍color12#0000ffrgb(0 0 255)hsl(240 100% 50%)oklch(45.2% 0.313 264.1)4.69 AA
亮洋紅color13#ff00ffrgb(255 0 255)hsl(300 100% 50%)oklch(70.2% 0.322 328.4)1.71 低於 AA
亮青color14#00cdcdrgb(0 205 205)hsl(180 100% 40%)oklch(76.8% 0.131 194.8)1.08 低於 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.83 低於 AA

關於 H Pux

H Pux 採用暖色調的淺色背景(#d1bca7),預設前景色為 #000000。內文的 WCAG 對比度為 11.46:1(AAA),12 種 ANSI 彩色槽位平均對比度 2.98:1,最低 1.08:1。

色票整體色彩彩度較高,其中紅色為 #8c0000、綠色為 #007d00、藍色為 #003cb4、洋紅為 #820082。

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

與 H Pux 相似的配色

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