跳到主要內容

Hachiko Red

Hachiko Red 是一套深色終端機配色,背景色 #181818,文字色 #ffdaf1,對比度 14.0:1

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

Hachiko Red 的設定檔

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

Hachiko Red

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

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

palette = 0=#181818
palette = 1=#960042
palette = 2=#ff0000
palette = 3=#ff5d05
palette = 4=#ff2044
palette = 5=#ffedcf
palette = 6=#6f0027
palette = 7=#ffdaf1
palette = 8=#333333
palette = 9=#870300
palette = 10=#690000
palette = 11=#6f2700
palette = 12=#333333
palette = 13=#ffffb5
palette = 14=#f50056
palette = 15=#ffe6da
background = #181818
foreground = #ffdaf1
cursor-color = #ffdaf1
cursor-text = #181818
selection-background = #494247
selection-foreground = #ffdaf1

Hachiko Red 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#181818rgb(24 24 24)hsl(0 0% 9%)oklch(20.9% 0.000 0)—
前景色foreground#ffdaf1rgb(255 218 241)hsl(323 100% 93%)oklch(92.6% 0.051 340.4)13.99 AAA
光標cursor#ffdaf1rgb(255 218 241)hsl(323 100% 93%)oklch(92.6% 0.051 340.4)13.99 AAA
光標文字cursorText#181818rgb(24 24 24)hsl(0 0% 9%)oklch(20.9% 0.000 0)1.00 低於 AA
選取範圍selection#494247rgb(73 66 71)hsl(317 5% 27%)oklch(38.8% 0.013 335.9)1.82 低於 AA
選取文字selectionText#ffdaf1rgb(255 218 241)hsl(323 100% 93%)oklch(92.6% 0.051 340.4)13.99 AAA
黑color0#181818rgb(24 24 24)hsl(0 0% 9%)oklch(20.9% 0.000 0)1.00 低於 AA
紅color1#960042rgb(150 0 66)hsl(334 100% 29%)oklch(43.2% 0.174 5.8)2.01 低於 AA
綠color2#ff0000rgb(255 0 0)hsl(0 100% 50%)oklch(62.8% 0.258 29.2)4.44 AA 大字體
黃color3#ff5d05rgb(255 93 5)hsl(21 100% 51%)oklch(68.5% 0.211 40.6)5.77 AA
藍color4#ff2044rgb(255 32 68)hsl(350 100% 56%)oklch(64.1% 0.246 21.3)4.69 AA
洋紅color5#ffedcfrgb(255 237 207)hsl(38 100% 91%)oklch(95.3% 0.044 80.6)15.45 AAA
青color6#6f0027rgb(111 0 39)hsl(339 100% 22%)oklch(34.6% 0.138 11.1)1.44 低於 AA
白color7#ffdaf1rgb(255 218 241)hsl(323 100% 93%)oklch(92.6% 0.051 340.4)13.99 AAA
亮黑color8#333333rgb(51 51 51)hsl(0 0% 20%)oklch(32.1% 0.000 0)1.41 低於 AA
亮紅color9#870300rgb(135 3 0)hsl(1 100% 26%)oklch(39.3% 0.159 29.6)1.73 低於 AA
亮綠color10#690000rgb(105 0 0)hsl(0 100% 21%)oklch(32.7% 0.134 29.2)1.35 低於 AA
亮黃color11#6f2700rgb(111 39 0)hsl(21 100% 22%)oklch(37.6% 0.111 42.9)1.66 低於 AA
亮藍color12#333333rgb(51 51 51)hsl(0 0% 20%)oklch(32.1% 0.000 0)1.41 低於 AA
亮洋紅color13#ffffb5rgb(255 255 181)hsl(60 100% 85%)oklch(98.3% 0.093 108.0)17.10 AAA
亮青color14#f50056rgb(245 0 86)hsl(339 100% 48%)oklch(61.7% 0.247 14.1)4.24 AA 大字體
亮白color15#ffe6dargb(255 230 218)hsl(19 100% 93%)oklch(94.2% 0.032 47.4)14.87 AAA

關於 Hachiko Red

Hachiko Red 採用中性色調的深色背景(#181818),預設前景色為 #ffdaf1。正文的 WCAG 對比度為 13.99:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.11:1,最低 1.35:1。

色板整體色彩飽和度適中,其中紅色為 #960042、綠色為 #ff0000、藍色為 #ff2044、洋紅為 #ffedcf。

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

與 Hachiko Red 相似的配色

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