跳到正文

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/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)