跳到正文

Hatsunemiku

Hatsunemiku 是一套深色终端配色,背景色 #242829,文字色 #dcd7d7,对比度 10.4:1

获取配置
背景色
#242829
前景色
#dcd7d7
文字对比度
10.45:1AAA
强调色对比度
6.26:1最低 3.36
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
❯

Hatsunemiku 的配置文件

16 种格式,都从同一份色板生成

Hatsunemiku

存到 ~/.config/ghostty/themes/Hatsunemiku,再在 config 或 config.ghostty 里写 theme = Hatsunemiku

更多 Ghostty 配色
原始文件
# Theme: Hatsunemiku (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/hatsunemiku?format=ghostty

palette = 0=#242829
palette = 1=#df2683
palette = 2=#13868c
palette = 3=#fcfcdf
palette = 4=#1a86b9
palette = 5=#bc7fd2
palette = 6=#7cc7d6
palette = 7=#4a4b4b
palette = 8=#7b8b99
palette = 9=#df2683
palette = 10=#13868c
palette = 11=#fcfcdf
palette = 12=#1a86b9
palette = 13=#bc7fd2
palette = 14=#7cc7d6
palette = 15=#dcd7d7
background = #242829
foreground = #dcd7d7
cursor-color = #dcd7d7
cursor-text = #242829
selection-background = #4d4f50
selection-foreground = #dcd7d7

Hatsunemiku 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#242829rgb(36 40 41)hsl(192 6% 15%)oklch(27.3% 0.006 214.4)—
前景色foreground#dcd7d7rgb(220 215 215)hsl(0 7% 85%)oklch(88.3% 0.005 17.3)10.45 AAA
光标cursor#dcd7d7rgb(220 215 215)hsl(0 7% 85%)oklch(88.3% 0.005 17.3)10.45 AAA
光标文字cursorText#242829rgb(36 40 41)hsl(192 6% 15%)oklch(27.3% 0.006 214.4)1.00 低于 AA
选区selection#4d4f50rgb(77 79 80)hsl(200 2% 31%)oklch(42.6% 0.003 228.8)1.81 低于 AA
选区文字selectionText#dcd7d7rgb(220 215 215)hsl(0 7% 85%)oklch(88.3% 0.005 17.3)10.45 AAA
黑color0#242829rgb(36 40 41)hsl(192 6% 15%)oklch(27.3% 0.006 214.4)1.00 低于 AA
红color1#df2683rgb(223 38 131)hsl(330 74% 51%)oklch(60.2% 0.226 356.8)3.36 AA 大字号
绿color2#13868crgb(19 134 140)hsl(183 76% 31%)oklch(56.6% 0.092 200.6)3.41 AA 大字号
黄color3#fcfcdfrgb(252 252 223)hsl(60 83% 93%)oklch(98.4% 0.038 107.1)14.27 AAA
蓝color4#1a86b9rgb(26 134 185)hsl(199 75% 41%)oklch(58.7% 0.119 235.9)3.65 AA 大字号
品红color5#bc7fd2rgb(188 127 210)hsl(284 48% 66%)oklch(68.9% 0.135 316.7)5.04 AA
青color6#7cc7d6rgb(124 199 214)hsl(190 52% 66%)oklch(78.6% 0.077 211.7)7.80 AAA
白color7#4a4b4brgb(74 75 75)hsl(180 1% 29%)oklch(41.2% 0.001 197.1)1.70 低于 AA
亮黑color8#7b8b99rgb(123 139 153)hsl(208 13% 54%)oklch(62.9% 0.028 244.6)4.25 AA 大字号
亮红color9#df2683rgb(223 38 131)hsl(330 74% 51%)oklch(60.2% 0.226 356.8)3.36 AA 大字号
亮绿color10#13868crgb(19 134 140)hsl(183 76% 31%)oklch(56.6% 0.092 200.6)3.41 AA 大字号
亮黄color11#fcfcdfrgb(252 252 223)hsl(60 83% 93%)oklch(98.4% 0.038 107.1)14.27 AAA
亮蓝color12#1a86b9rgb(26 134 185)hsl(199 75% 41%)oklch(58.7% 0.119 235.9)3.65 AA 大字号
亮品红color13#bc7fd2rgb(188 127 210)hsl(284 48% 66%)oklch(68.9% 0.135 316.7)5.04 AA
亮青color14#7cc7d6rgb(124 199 214)hsl(190 52% 66%)oklch(78.6% 0.077 211.7)7.80 AAA
亮白color15#dcd7d7rgb(220 215 215)hsl(0 7% 85%)oklch(88.3% 0.005 17.3)10.45 AAA

关于 Hatsunemiku

Hatsunemiku 采用中性色调的深色背景(#242829),默认前景色为 #dcd7d7。正文的 WCAG 对比度为 10.45:1(AAA),12 种 ANSI 彩色槽位平均对比度 6.26:1,最低 3.36:1。

色板整体色彩饱和度适中,其中红色为 #df2683、绿色为 #13868c、蓝色为 #1a86b9、品红为 #bc7fd2。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Hatsunemiku 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)