跳到正文

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