跳到正文

Halcyon

Halcyon 是一套深色终端配色(冷色),背景色 #171c28,文字色 #d7dce2,对比度 12.3:1

获取配置
背景色
#171c28
前景色
#d7dce2
文字对比度
12.35:1AAA
强调色对比度
8.57:1最低 3.92
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
❯

Halcyon 的配置文件

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

Halcyon

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

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

palette = 0=#1d2433
palette = 1=#ef6b73
palette = 2=#bae67e
palette = 3=#ffd580
palette = 4=#6679a4
palette = 5=#c3a6ff
palette = 6=#5ccfe6
palette = 7=#d7dce2
palette = 8=#1d2433
palette = 9=#ef6b73
palette = 10=#bae67e
palette = 11=#ffd580
palette = 12=#6679a4
palette = 13=#c3a6ff
palette = 14=#5ccfe6
palette = 15=#d7dce2
background = #171c28
foreground = #d7dce2
cursor-color = #d7dce2
cursor-text = #171c28
selection-background = #404652
selection-foreground = #d7dce2

Halcyon 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#171c28rgb(23 28 40)hsl(222 27% 12%)oklch(22.7% 0.025 266.9)—
前景色foreground#d7dce2rgb(215 220 226)hsl(213 16% 86%)oklch(89.2% 0.010 252.8)12.35 AAA
光标cursor#d7dce2rgb(215 220 226)hsl(213 16% 86%)oklch(89.2% 0.010 252.8)12.35 AAA
光标文字cursorText#171c28rgb(23 28 40)hsl(222 27% 12%)oklch(22.7% 0.025 266.9)1.00 低于 AA
选区selection#404652rgb(64 70 82)hsl(220 12% 29%)oklch(39.3% 0.022 264.3)1.80 低于 AA
选区文字selectionText#d7dce2rgb(215 220 226)hsl(213 16% 86%)oklch(89.2% 0.010 252.8)12.35 AAA
黑color0#1d2433rgb(29 36 51)hsl(221 28% 16%)oklch(26.1% 0.030 265.0)1.10 低于 AA
红color1#ef6b73rgb(239 107 115)hsl(356 80% 68%)oklch(69.0% 0.163 18.7)5.69 AA
绿color2#bae67ergb(186 230 126)hsl(85 68% 70%)oklch(87.1% 0.140 127.8)11.93 AAA
黄color3#ffd580rgb(255 213 128)hsl(40 100% 75%)oklch(89.1% 0.114 83.9)12.23 AAA
蓝color4#6679a4rgb(102 121 164)hsl(222 25% 52%)oklch(57.8% 0.070 265.8)3.92 AA 大字号
品红color5#c3a6ffrgb(195 166 255)hsl(260 100% 83%)oklch(78.4% 0.127 298.4)8.29 AAA
青color6#5ccfe6rgb(92 207 230)hsl(190 73% 63%)oklch(79.7% 0.108 212.9)9.34 AAA
白color7#d7dce2rgb(215 220 226)hsl(213 16% 86%)oklch(89.2% 0.010 252.8)12.35 AAA
亮黑color8#1d2433rgb(29 36 51)hsl(221 28% 16%)oklch(26.1% 0.030 265.0)1.10 低于 AA
亮红color9#ef6b73rgb(239 107 115)hsl(356 80% 68%)oklch(69.0% 0.163 18.7)5.69 AA
亮绿color10#bae67ergb(186 230 126)hsl(85 68% 70%)oklch(87.1% 0.140 127.8)11.93 AAA
亮黄color11#ffd580rgb(255 213 128)hsl(40 100% 75%)oklch(89.1% 0.114 83.9)12.23 AAA
亮蓝color12#6679a4rgb(102 121 164)hsl(222 25% 52%)oklch(57.8% 0.070 265.8)3.92 AA 大字号
亮品红color13#c3a6ffrgb(195 166 255)hsl(260 100% 83%)oklch(78.4% 0.127 298.4)8.29 AAA
亮青color14#5ccfe6rgb(92 207 230)hsl(190 73% 63%)oklch(79.7% 0.108 212.9)9.34 AAA
亮白color15#d7dce2rgb(215 220 226)hsl(213 16% 86%)oklch(89.2% 0.010 252.8)12.35 AAA

关于 Halcyon

Halcyon 采用冷色调的深色背景(#171c28),默认前景色为 #d7dce2。正文的 WCAG 对比度为 12.35:1(AAA),12 种 ANSI 彩色槽位平均对比度 8.57:1,最低 3.92:1。

色板整体色彩饱和度适中,其中红色为 #ef6b73、绿色为 #bae67e、蓝色为 #6679a4、品红为 #c3a6ff。

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

与 Halcyon 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)