跳到主要內容

Hopscotch

Hopscotch 是一套深色終端機配色(柔和),背景色 #322931,文字色 #b9b5b8,對比度 6.9:1

取得設定檔
背景色
#322931
前景色
#b9b5b8
文字對比度
6.92:1AA
強調色對比度
4.70:1最低 1.30
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
❯

Hopscotch 的設定檔

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

Hopscotch

存到 ~/.config/ghostty/themes/Hopscotch,再在 config 或 config.ghostty 裡寫 theme = Hopscotch

更多 Ghostty 配色
原始檔
# Theme: Hopscotch (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/hopscotch?format=ghostty

palette = 0=#322931
palette = 1=#dd464c
palette = 2=#8fc13e
palette = 3=#fdcc59
palette = 4=#1290bf
palette = 5=#c85e7c
palette = 6=#149b93
palette = 7=#b9b5b8
palette = 8=#797379
palette = 9=#fd8b19
palette = 10=#433b42
palette = 11=#5c545b
palette = 12=#989498
palette = 13=#d5d3d5
palette = 14=#b33508
palette = 15=#ffffff
background = #322931
foreground = #b9b5b8
cursor-color = #b9b5b8
cursor-text = #322931
selection-background = #5c545b
selection-foreground = #b9b5b8

Hopscotch 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#322931rgb(50 41 49)hsl(307 10% 18%)oklch(29.4% 0.019 329.7)—
前景色foreground#b9b5b8rgb(185 181 184)hsl(315 3% 72%)oklch(77.7% 0.006 334.0)6.92 AA
游標cursor#b9b5b8rgb(185 181 184)hsl(315 3% 72%)oklch(77.7% 0.006 334.0)6.92 AA
游標文字cursorText#322931rgb(50 41 49)hsl(307 10% 18%)oklch(29.4% 0.019 329.7)1.00 低於 AA
選取範圍selection#5c545brgb(92 84 91)hsl(308 5% 35%)oklch(45.6% 0.015 329.8)1.92 低於 AA
選取文字selectionText#b9b5b8rgb(185 181 184)hsl(315 3% 72%)oklch(77.7% 0.006 334.0)6.92 AA
黑color0#322931rgb(50 41 49)hsl(307 10% 18%)oklch(29.4% 0.019 329.7)1.00 低於 AA
紅color1#dd464crgb(221 70 76)hsl(358 69% 57%)oklch(61.0% 0.187 22.5)3.38 AA 大字級
綠color2#8fc13ergb(143 193 62)hsl(83 51% 50%)oklch(75.0% 0.167 128.0)6.59 AA
黃color3#fdcc59rgb(253 204 89)hsl(42 98% 67%)oklch(86.7% 0.142 85.8)9.32 AAA
藍color4#1290bfrgb(18 144 191)hsl(196 83% 41%)oklch(61.4% 0.120 231.2)3.85 AA 大字級
洋紅color5#c85e7crgb(200 94 124)hsl(343 49% 58%)oklch(61.9% 0.138 4.1)3.57 AA 大字級
青color6#149b93rgb(20 155 147)hsl(176 77% 34%)oklch(62.3% 0.105 188.2)4.10 AA 大字級
白color7#b9b5b8rgb(185 181 184)hsl(315 3% 72%)oklch(77.7% 0.006 334.0)6.92 AA
亮黑color8#797379rgb(121 115 121)hsl(300 3% 46%)oklch(56.3% 0.012 325.7)3.03 AA 大字級
亮紅color9#fd8b19rgb(253 139 25)hsl(30 98% 55%)oklch(74.7% 0.175 56.9)5.93 AA
亮綠color10#433b42rgb(67 59 66)hsl(308 6% 25%)oklch(36.3% 0.016 329.9)1.30 低於 AA
亮黃color11#5c545brgb(92 84 91)hsl(308 5% 35%)oklch(45.6% 0.015 329.8)1.92 低於 AA
亮藍color12#989498rgb(152 148 152)hsl(300 2% 59%)oklch(67.1% 0.007 325.7)4.69 AA
亮洋紅color13#d5d3d5rgb(213 211 213)hsl(300 2% 83%)oklch(86.9% 0.003 325.6)9.42 AAA
亮青color14#b33508rgb(179 53 8)hsl(16 91% 37%)oklch(51.4% 0.169 36.6)2.29 低於 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.03 AAA

關於 Hopscotch

Hopscotch 採用中性色調的深色背景(#322931),預設前景色為 #b9b5b8。內文的 WCAG 對比度為 6.92:1(AA),12 種 ANSI 彩色槽位平均對比度 4.70:1,最低 1.30:1。

色票整體色彩彩度適中,其中紅色為 #dd464c、綠色為 #8fc13e、藍色為 #1290bf、洋紅為 #c85e7c。

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

與 Hopscotch 相似的配色

資料來源:iTerm2 Color Schemes (CC0-1.0)