跳到主要內容

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