跳到主要內容

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