跳到主要內容

HaX0R Gr33N

HaX0R Gr33N 是一套深色終端機配色(柔和、單色),背景色 #020f01,文字色 #16b10e,對比度 6.8:1

取得設定檔
背景色
#020f01
前景色
#16b10e
文字對比度
6.84:1AA
強調色對比度
10.26:1最低 9.39
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
❯

HaX0R Gr33N 的設定檔

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

HaX0R Gr33N

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

更多 Ghostty 配色
原始檔
# Theme: HaX0R Gr33N (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/hax0r-gr33n?format=ghostty

palette = 0=#001f0b
palette = 1=#15d00d
palette = 2=#15d00d
palette = 3=#15d00d
palette = 4=#15d00d
palette = 5=#15d00d
palette = 6=#15d00d
palette = 7=#fafafa
palette = 8=#001510
palette = 9=#19e20e
palette = 10=#19e20e
palette = 11=#19e20e
palette = 12=#19e20e
palette = 13=#19e20e
palette = 14=#19e20e
palette = 15=#fefefe
background = #020f01
foreground = #16b10e
cursor-color = #15d00d
cursor-text = #ffffff
selection-background = #d4ffc1
selection-foreground = #fdfdfd

HaX0R Gr33N 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#020f01rgb(2 15 1)hsl(116 88% 3%)oklch(14.9% 0.043 140.9)—
前景色foreground#16b10ergb(22 177 14)hsl(117 85% 37%)oklch(66.1% 0.219 142.3)6.84 AA
游標cursor#15d00drgb(21 208 13)hsl(118 88% 43%)oklch(74.4% 0.249 142.4)9.39 AAA
游標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.60 AAA
選取範圍selection#d4ffc1rgb(212 255 193)hsl(102 100% 88%)oklch(95.4% 0.093 136.2)17.62 AAA
選取文字selectionText#fdfdfdrgb(253 253 253)hsl(0 0% 99%)oklch(99.4% 0.000 0)19.27 AAA
黑color0#001f0brgb(0 31 11)hsl(141 100% 6%)oklch(21.0% 0.055 152.5)1.12 低於 AA
紅color1#15d00drgb(21 208 13)hsl(118 88% 43%)oklch(74.4% 0.249 142.4)9.39 AAA
綠color2#15d00drgb(21 208 13)hsl(118 88% 43%)oklch(74.4% 0.249 142.4)9.39 AAA
黃color3#15d00drgb(21 208 13)hsl(118 88% 43%)oklch(74.4% 0.249 142.4)9.39 AAA
藍color4#15d00drgb(21 208 13)hsl(118 88% 43%)oklch(74.4% 0.249 142.4)9.39 AAA
洋紅color5#15d00drgb(21 208 13)hsl(118 88% 43%)oklch(74.4% 0.249 142.4)9.39 AAA
青color6#15d00drgb(21 208 13)hsl(118 88% 43%)oklch(74.4% 0.249 142.4)9.39 AAA
白color7#fafafargb(250 250 250)hsl(0 0% 98%)oklch(98.5% 0.000 0)18.78 AAA
亮黑color8#001510rgb(0 21 16)hsl(166 100% 4%)oklch(17.5% 0.033 176.4)1.04 低於 AA
亮紅color9#19e20ergb(25 226 14)hsl(117 88% 47%)oklch(79.2% 0.265 142.3)11.13 AAA
亮綠color10#19e20ergb(25 226 14)hsl(117 88% 47%)oklch(79.2% 0.265 142.3)11.13 AAA
亮黃color11#19e20ergb(25 226 14)hsl(117 88% 47%)oklch(79.2% 0.265 142.3)11.13 AAA
亮藍color12#19e20ergb(25 226 14)hsl(117 88% 47%)oklch(79.2% 0.265 142.3)11.13 AAA
亮洋紅color13#19e20ergb(25 226 14)hsl(117 88% 47%)oklch(79.2% 0.265 142.3)11.13 AAA
亮青color14#19e20ergb(25 226 14)hsl(117 88% 47%)oklch(79.2% 0.265 142.3)11.13 AAA
亮白color15#fefefergb(254 254 254)hsl(0 0% 100%)oklch(99.7% 0.000 0)19.44 AAA

關於 HaX0R Gr33N

HaX0R Gr33N 採用中性色調的深色背景(#020f01),預設前景色為 #16b10e。內文的 WCAG 對比度為 6.84:1(AA),12 種 ANSI 彩色槽位平均對比度 10.26:1,最低 9.39:1。

色票整體色彩彩度較高,其中紅色為 #15d00d、綠色為 #15d00d、藍色為 #15d00d、洋紅為 #15d00d。

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

與 HaX0R Gr33N 相似的配色

資料來源:iTerm2 Color Schemes (MIT)