跳到正文

Hadar Theme

Hadar Theme 是一套深色终端配色(柔和、冷色),背景色 #00030f,文字色 #8695b7,对比度 6.9:1

获取配置
背景色
#00030f
前景色
#8695b7
文字对比度
6.86:1AA
强调色对比度
11.55:1最低 5.44
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
❯

Hadar Theme 的配置文件

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

Hadar Theme

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

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

palette = 0=#00000c
palette = 1=#f92672
palette = 2=#a6e22e
palette = 3=#e6db74
palette = 4=#66d9ef
palette = 5=#ae81ff
palette = 6=#00ffff
palette = 7=#fcfcfa
palette = 8=#2f3b54
palette = 9=#f92672
palette = 10=#a6e22e
palette = 11=#e6db74
palette = 12=#66d9ef
palette = 13=#ae81ff
palette = 14=#00ffff
palette = 15=#fcfcfa
background = #00030f
foreground = #8695b7
cursor-color = #00b09c
cursor-text = #00030f
selection-background = #142034
selection-foreground = #8695b7

Hadar Theme 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#00030frgb(0 3 15)hsl(228 100% 3%)oklch(10.1% 0.037 257.7)—
前景色foreground#8695b7rgb(134 149 183)hsl(222 25% 62%)oklch(67.0% 0.053 266.3)6.86 AA
光标cursor#00b09crgb(0 176 156)hsl(173 100% 35%)oklch(67.9% 0.122 180.9)7.54 AAA
光标文字cursorText#00030frgb(0 3 15)hsl(228 100% 3%)oklch(10.1% 0.037 257.7)1.00 低于 AA
选区selection#142034rgb(20 32 52)hsl(218 44% 14%)oklch(24.3% 0.042 260.2)1.26 低于 AA
选区文字selectionText#8695b7rgb(134 149 183)hsl(222 25% 62%)oklch(67.0% 0.053 266.3)6.86 AA
黑color0#00000crgb(0 0 12)hsl(240 100% 2%)oklch(7.0% 0.048 264.1)1.01 低于 AA
红color1#f92672rgb(249 38 114)hsl(338 95% 56%)oklch(64.2% 0.240 7.5)5.44 AA
绿color2#a6e22ergb(166 226 46)hsl(80 76% 53%)oklch(84.1% 0.204 127.3)13.27 AAA
黄color3#e6db74rgb(230 219 116)hsl(54 70% 68%)oklch(87.9% 0.125 103.2)14.46 AAA
蓝color4#66d9efrgb(102 217 239)hsl(190 81% 67%)oklch(82.7% 0.108 212.0)12.49 AAA
品红color5#ae81ffrgb(174 129 255)hsl(261 100% 75%)oklch(70.1% 0.181 298.1)7.24 AAA
青color6#00ffffrgb(0 255 255)hsl(180 100% 50%)oklch(90.5% 0.155 194.8)16.42 AAA
白color7#fcfcfargb(252 252 250)hsl(60 25% 98%)oklch(99.1% 0.003 106.4)20.04 AAA
亮黑color8#2f3b54rgb(47 59 84)hsl(221 28% 26%)oklch(35.3% 0.047 264.4)1.84 低于 AA
亮红color9#f92672rgb(249 38 114)hsl(338 95% 56%)oklch(64.2% 0.240 7.5)5.44 AA
亮绿color10#a6e22ergb(166 226 46)hsl(80 76% 53%)oklch(84.1% 0.204 127.3)13.27 AAA
亮黄color11#e6db74rgb(230 219 116)hsl(54 70% 68%)oklch(87.9% 0.125 103.2)14.46 AAA
亮蓝color12#66d9efrgb(102 217 239)hsl(190 81% 67%)oklch(82.7% 0.108 212.0)12.49 AAA
亮品红color13#ae81ffrgb(174 129 255)hsl(261 100% 75%)oklch(70.1% 0.181 298.1)7.24 AAA
亮青color14#00ffffrgb(0 255 255)hsl(180 100% 50%)oklch(90.5% 0.155 194.8)16.42 AAA
亮白color15#fcfcfargb(252 252 250)hsl(60 25% 98%)oklch(99.1% 0.003 106.4)20.04 AAA

关于 Hadar Theme

Hadar Theme 采用冷色调的深色背景(#00030f),默认前景色为 #8695b7。正文的 WCAG 对比度为 6.86:1(AA),12 种 ANSI 彩色槽位平均对比度 11.55:1,最低 5.44:1。

色板整体色彩饱和度适中,其中红色为 #f92672、绿色为 #a6e22e、蓝色为 #66d9ef、品红为 #ae81ff。

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

与 Hadar Theme 相似的配色

数据来源:Warp Themes (Apache-2.0)