跳到正文

hund

hund 是一套深色终端配色,背景色 #161616,文字色 #ffffff,对比度 18.1:1

获取配置
背景色
#161616
前景色
#ffffff
文字对比度
18.10:1AAA
强调色对比度
7.47:1最低 3.34
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
❯

hund 的配置文件

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

hund

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

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

palette = 0=#222222
palette = 1=#e84f4f
palette = 2=#b7ce42
palette = 3=#fea63c
palette = 4=#66aabb
palette = 5=#b7416e
palette = 6=#6d878d
palette = 7=#dddddd
palette = 8=#666666
palette = 9=#d23d3d
palette = 10=#bde077
palette = 11=#ffe863
palette = 12=#aaccbb
palette = 13=#e16a98
palette = 14=#42717b
palette = 15=#cccccc
background = #161616
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #161616
selection-background = #484848
selection-foreground = #ffffff

hund 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#161616rgb(22 22 22)hsl(0 0% 9%)oklch(20.0% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.10 AAA
光标cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.10 AAA
光标文字cursorText#161616rgb(22 22 22)hsl(0 0% 9%)oklch(20.0% 0.000 0)1.00 低于 AA
选区selection#484848rgb(72 72 72)hsl(0 0% 28%)oklch(40.2% 0.000 0)1.98 低于 AA
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.10 AAA
黑color0#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)1.14 低于 AA
红color1#e84f4frgb(232 79 79)hsl(0 77% 61%)oklch(63.8% 0.189 24.2)4.88 AA
绿color2#b7ce42rgb(183 206 66)hsl(70 59% 53%)oklch(80.8% 0.163 118.3)10.27 AAA
黄color3#fea63crgb(254 166 60)hsl(33 99% 62%)oklch(79.6% 0.155 66.5)9.25 AAA
蓝color4#66aabbrgb(102 170 187)hsl(192 38% 57%)oklch(69.9% 0.073 215.6)6.92 AA
品红color5#b7416ergb(183 65 110)hsl(337 48% 49%)oklch(55.2% 0.158 0.1)3.44 AA 大字号
青color6#6d878drgb(109 135 141)hsl(191 13% 49%)oklch(60.5% 0.031 213.3)4.74 AA
白color7#ddddddrgb(221 221 221)hsl(0 0% 87%)oklch(89.8% 0.000 0)13.32 AAA
亮黑color8#666666rgb(102 102 102)hsl(0 0% 40%)oklch(51.0% 0.000 0)3.15 AA 大字号
亮红color9#d23d3drgb(210 61 61)hsl(0 62% 53%)oklch(58.0% 0.186 25.1)3.86 AA 大字号
亮绿color10#bde077rgb(189 224 119)hsl(80 63% 67%)oklch(85.9% 0.138 124.4)12.14 AAA
亮黄color11#ffe863rgb(255 232 99)hsl(51 100% 69%)oklch(92.5% 0.153 99.5)14.63 AAA
亮蓝color12#aaccbbrgb(170 204 187)hsl(150 25% 73%)oklch(81.5% 0.043 163.7)10.40 AAA
亮品红color13#e16a98rgb(225 106 152)hsl(337 66% 65%)oklch(67.9% 0.155 357.7)5.79 AA
亮青color14#42717brgb(66 113 123)hsl(191 30% 37%)oklch(51.9% 0.054 212.8)3.34 AA 大字号
亮白color15#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)11.27 AAA

关于 hund

hund 采用中性色调的深色背景(#161616),默认前景色为 #ffffff。正文的 WCAG 对比度为 18.10:1(AAA),12 种 ANSI 彩色槽位平均对比度 7.47:1,最低 3.34:1。

色板整体色彩饱和度适中,其中红色为 #e84f4f、绿色为 #b7ce42、蓝色为 #66aabb、品红为 #b7416e。

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

与 hund 相似的配色

数据来源:terminal.sexy (MIT)