跳到主要內容

HaX0R R3D

HaX0R R3D 是一套深色終端機配色(柔和、單色),背景色 #200101,文字色 #b10e0e,對比度 2.8:1

取得設定檔
背景色
#200101
前景色
#b10e0e
文字對比度
2.76:1低於 AA
強調色對比度
3.87:1最低 2.73
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 R3D 的設定檔

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

HaX0R R3D

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

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

palette = 0=#1f0000
palette = 1=#b00d0d
palette = 2=#b00d0d
palette = 3=#b00d0d
palette = 4=#b00d0d
palette = 5=#b00d0d
palette = 6=#b00d0d
palette = 7=#fafafa
palette = 8=#150000
palette = 9=#ff1111
palette = 10=#ff1010
palette = 11=#ff1010
palette = 12=#ff1010
palette = 13=#ff1010
palette = 14=#ff1010
palette = 15=#fefefe
background = #200101
foreground = #b10e0e
cursor-color = #b00d0d
cursor-text = #ffffff
selection-background = #ebc1ff
selection-foreground = #fdfdfd

HaX0R R3D 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#200101rgb(32 1 1)hsl(0 94% 6%)oklch(15.6% 0.059 27.7)—
前景色foreground#b10e0ergb(177 14 14)hsl(0 85% 37%)oklch(48.2% 0.191 28.5)2.76 低於 AA
光標cursor#b00d0drgb(176 13 13)hsl(0 86% 37%)oklch(48.0% 0.191 28.5)2.73 低於 AA
光標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.70 AAA
選取範圍selection#ebc1ffrgb(235 193 255)hsl(281 100% 88%)oklch(86.7% 0.095 314.7)12.76 AAA
選取文字selectionText#fdfdfdrgb(253 253 253)hsl(0 0% 99%)oklch(99.4% 0.000 0)19.36 AAA
黑color0#1f0000rgb(31 0 0)hsl(0 100% 6%)oklch(15.0% 0.062 29.2)1.01 低於 AA
紅color1#b00d0drgb(176 13 13)hsl(0 86% 37%)oklch(48.0% 0.191 28.5)2.73 低於 AA
綠color2#b00d0drgb(176 13 13)hsl(0 86% 37%)oklch(48.0% 0.191 28.5)2.73 低於 AA
黃color3#b00d0drgb(176 13 13)hsl(0 86% 37%)oklch(48.0% 0.191 28.5)2.73 低於 AA
藍color4#b00d0drgb(176 13 13)hsl(0 86% 37%)oklch(48.0% 0.191 28.5)2.73 低於 AA
洋紅color5#b00d0drgb(176 13 13)hsl(0 86% 37%)oklch(48.0% 0.191 28.5)2.73 低於 AA
青color6#b00d0drgb(176 13 13)hsl(0 86% 37%)oklch(48.0% 0.191 28.5)2.73 低於 AA
白color7#fafafargb(250 250 250)hsl(0 0% 98%)oklch(98.5% 0.000 0)18.87 AAA
亮黑color8#150000rgb(21 0 0)hsl(0 100% 4%)oklch(12.3% 0.050 29.2)1.03 低於 AA
亮紅color9#ff1111rgb(255 17 17)hsl(0 100% 53%)oklch(63.2% 0.254 28.8)5.01 AA
亮綠color10#ff1010rgb(255 16 16)hsl(0 100% 53%)oklch(63.1% 0.254 28.8)5.00 AA
亮黃color11#ff1010rgb(255 16 16)hsl(0 100% 53%)oklch(63.1% 0.254 28.8)5.00 AA
亮藍color12#ff1010rgb(255 16 16)hsl(0 100% 53%)oklch(63.1% 0.254 28.8)5.00 AA
亮洋紅color13#ff1010rgb(255 16 16)hsl(0 100% 53%)oklch(63.1% 0.254 28.8)5.00 AA
亮青color14#ff1010rgb(255 16 16)hsl(0 100% 53%)oklch(63.1% 0.254 28.8)5.00 AA
亮白color15#fefefergb(254 254 254)hsl(0 0% 100%)oklch(99.7% 0.000 0)19.53 AAA

關於 HaX0R R3D

HaX0R R3D 採用暖色調的深色背景(#200101),預設前景色為 #b10e0e。正文的 WCAG 對比度為 2.76:1(低於 AA),12 種 ANSI 彩色槽位平均對比度 3.87:1,最低 2.73:1。

色板整體色彩飽和度較高,其中紅色為 #b00d0d、綠色為 #b00d0d、藍色為 #b00d0d、洋紅為 #b00d0d。

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

與 HaX0R R3D 相似的配色

資料來源:iTerm2 Color Schemes (MIT)