跳到正文

Hyper

Hyper 是一套深色终端配色(纯黑、高对比度),背景色 #000000,文字色 #ffffff,对比度 21.0:1

获取配置
背景色
#000000
前景色
#ffffff
文字对比度
21.00:1AAA
强调色对比度
9.56:1最低 2.22
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
❯

Hyper 的配置文件

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

Hyper

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

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

palette = 0=#000000
palette = 1=#c51e14
palette = 2=#1dc121
palette = 3=#c7c329
palette = 4=#0a2fc4
palette = 5=#c839c5
palette = 6=#20c5c6
palette = 7=#c7c7c7
palette = 8=#686868
palette = 9=#fd6f6b
palette = 10=#67f86f
palette = 11=#fffa72
palette = 12=#6a76fb
palette = 13=#fd7cfc
palette = 14=#68fdfe
palette = 15=#ffffff
background = #000000
foreground = #ffffff
cursor-color = #f81ce5
cursor-text = #000000
selection-background = #4a0845
selection-foreground = #ffffff

Hyper 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
光标cursor#f81ce5rgb(248 28 229)hsl(305 94% 54%)oklch(68.2% 0.296 332.7)6.29 AA
光标文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低于 AA
选区selection#4a0845rgb(74 8 69)hsl(305 80% 16%)oklch(29.0% 0.119 331.7)1.41 低于 AA
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低于 AA
红color1#c51e14rgb(197 30 20)hsl(3 82% 43%)oklch(52.9% 0.201 29.4)3.57 AA 大字号
绿color2#1dc121rgb(29 193 33)hsl(121 74% 44%)oklch(70.6% 0.228 142.9)8.70 AAA
黄color3#c7c329rgb(199 195 41)hsl(58 66% 47%)oklch(79.6% 0.161 108.0)11.27 AAA
蓝color4#0a2fc4rgb(10 47 196)hsl(228 90% 40%)oklch(41.3% 0.229 264.8)2.22 低于 AA
品红color5#c839c5rgb(200 57 197)hsl(301 57% 50%)oklch(60.8% 0.233 328.9)4.85 AA
青color6#20c5c6rgb(32 197 198)hsl(180 72% 45%)oklch(74.8% 0.123 195.5)9.86 AAA
白color7#c7c7c7rgb(199 199 199)hsl(0 0% 78%)oklch(83.0% 0.000 0)12.42 AAA
亮黑color8#686868rgb(104 104 104)hsl(0 0% 41%)oklch(51.7% 0.000 0)3.77 AA 大字号
亮红color9#fd6f6brgb(253 111 107)hsl(2 97% 71%)oklch(71.4% 0.175 24.1)7.66 AAA
亮绿color10#67f86frgb(103 248 111)hsl(123 91% 69%)oklch(87.1% 0.219 144.3)15.23 AAA
亮黄color11#fffa72rgb(255 250 114)hsl(58 100% 72%)oklch(96.3% 0.157 107.1)19.17 AAA
亮蓝color12#6a76fbrgb(106 118 251)hsl(235 95% 70%)oklch(62.6% 0.196 275.3)5.60 AA
亮品红color13#fd7cfcrgb(253 124 252)hsl(300 97% 74%)oklch(77.8% 0.217 327.7)9.47 AAA
亮青color14#68fdfergb(104 253 254)hsl(180 99% 70%)oklch(91.5% 0.126 195.8)17.07 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA

关于 Hyper

Hyper 采用中性色调的深色背景(#000000),默认前景色为 #ffffff。正文的 WCAG 对比度为 21.00:1(AAA),12 种 ANSI 彩色槽位平均对比度 9.56:1,最低 2.22:1。

色板整体色彩饱和度较高,其中红色为 #c51e14、绿色为 #1dc121、蓝色为 #0a2fc4、品红为 #c839c5。

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

与 Hyper 相似的配色

数据来源:iTerm2 Color Schemes (MIT)