跳到主要內容

Havn Daggry

Havn Daggry 是一套淺色終端機配色,背景色 #f8f9fb,文字色 #3b4a7a,對比度 8.2:1

取得設定檔
背景色
#f8f9fb
前景色
#3b4a7a
文字對比度
8.15:1AAA
強調色對比度
4.29:1最低 1.71
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
❯

Havn Daggry 的設定檔

16 種格式,都從同一份色板產生

Havn Daggry

存到 ~/.config/ghostty/themes/Havn Daggry,再在 config 或 config.ghostty 裏寫 theme = Havn Daggry

更多 Ghostty 配色
原始檔案
# Theme: Havn Daggry (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/havn-daggry?format=ghostty

palette = 0=#1f2842
palette = 1=#985248
palette = 2=#577159
palette = 3=#be6b00
palette = 4=#3a577d
palette = 5=#7c5c97
palette = 6=#925780
palette = 7=#d6dbeb
palette = 8=#1f2842
palette = 9=#cc4a35
palette = 10=#719679
palette = 11=#feb234
palette = 12=#6089c0
palette = 13=#7d7396
palette = 14=#aa869d
palette = 15=#d6dbeb
background = #f8f9fb
foreground = #3b4a7a
cursor-color = #226c4f
cursor-text = #d6dbeb
selection-background = #cfe9dd
selection-foreground = #313c64

Havn Daggry 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f8f9fbrgb(248 249 251)hsl(220 27% 98%)oklch(98.2% 0.003 264.5)—
前景色foreground#3b4a7argb(59 74 122)hsl(226 35% 35%)oklch(42.0% 0.082 269.5)8.15 AAA
光標cursor#226c4frgb(34 108 79)hsl(156 52% 28%)oklch(47.7% 0.087 163.4)5.99 AA
光標文字cursorText#d6dbebrgb(214 219 235)hsl(226 34% 88%)oklch(89.2% 0.023 272.0)1.31 低於 AA
選取範圍selection#cfe9ddrgb(207 233 221)hsl(152 37% 86%)oklch(91.2% 0.032 166.2)1.22 低於 AA
選取文字selectionText#313c64rgb(49 60 100)hsl(227 34% 29%)oklch(36.6% 0.071 270.9)10.17 AAA
黑color0#1f2842rgb(31 40 66)hsl(225 36% 19%)oklch(28.2% 0.050 268.6)13.84 AAA
紅color1#985248rgb(152 82 72)hsl(8 36% 44%)oklch(52.0% 0.095 29.2)5.48 AA
綠color2#577159rgb(87 113 89)hsl(125 13% 39%)oklch(52.1% 0.048 146.9)5.10 AA
黃color3#be6b00rgb(190 107 0)hsl(34 100% 37%)oklch(60.9% 0.142 60.9)3.77 AA 大字體
藍color4#3a577drgb(58 87 125)hsl(214 37% 36%)oklch(45.1% 0.072 255.6)7.02 AAA
洋紅color5#7c5c97rgb(124 92 151)hsl(273 24% 48%)oklch(53.1% 0.097 308.3)5.20 AA
青color6#925780rgb(146 87 128)hsl(318 25% 46%)oklch(53.7% 0.095 339.2)5.12 AA
白color7#d6dbebrgb(214 219 235)hsl(226 34% 88%)oklch(89.2% 0.023 272.0)1.31 低於 AA
亮黑color8#1f2842rgb(31 40 66)hsl(225 36% 19%)oklch(28.2% 0.050 268.6)13.84 AAA
亮紅color9#cc4a35rgb(204 74 53)hsl(8 60% 50%)oklch(58.4% 0.169 31.6)4.34 AA 大字體
亮綠color10#719679rgb(113 150 121)hsl(133 15% 52%)oklch(63.7% 0.060 151.0)3.14 AA 大字體
亮黃color11#feb234rgb(254 178 52)hsl(37 99% 60%)oklch(81.7% 0.157 74.7)1.71 低於 AA
亮藍color12#6089c0rgb(96 137 192)hsl(214 43% 56%)oklch(62.3% 0.095 256.0)3.42 AA 大字體
亮洋紅color13#7d7396rgb(125 115 150)hsl(257 14% 52%)oklch(57.7% 0.054 297.8)4.18 AA 大字體
亮青color14#aa869drgb(170 134 157)hsl(322 17% 60%)oklch(66.1% 0.054 340.1)3.02 AA 大字體
亮白color15#d6dbebrgb(214 219 235)hsl(226 34% 88%)oklch(89.2% 0.023 272.0)1.31 低於 AA

關於 Havn Daggry

Havn Daggry 採用中性色調的淺色背景(#f8f9fb),預設前景色為 #3b4a7a。正文的 WCAG 對比度為 8.15:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.29:1,最低 1.71:1。

色板整體色彩飽和度適中,其中紅色為 #985248、綠色為 #577159、藍色為 #3a577d、洋紅為 #7c5c97。

支援一鍵匯出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 終端機設定檔,同時提供 VS Code 與 Zed 整合終端機、CSS 變數、Tailwind CSS 及 JSON 色板格式。

與 Havn Daggry 相似的配色

資料來源:iTerm2 Color Schemes (GPL-3.0-or-later)