跳到主要內容

Analog Heartbeat

Analog Heartbeat 是一套深色終端機配色(低飽和),背景色 #211f1c,文字色 #e6ddcb,對比度 12.2:1

取得設定檔
背景色
#211f1c
前景色
#e6ddcb
文字對比度
12.19:1AAA
強調色對比度
7.55:1最低 4.65
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
❯

Analog Heartbeat 的設定檔

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

Analog Heartbeat

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

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

palette = 0=#302c27
palette = 1=#c96f64
palette = 2=#94b26a
palette = 3=#d9ac63
palette = 4=#839eb2
palette = 5=#b28da1
palette = 6=#7eafa5
palette = 7=#d6cbb8
palette = 8=#62594d
palette = 9=#e57b73
palette = 10=#b7d36b
palette = 11=#f2c87b
palette = 12=#a8c4d6
palette = 13=#d0a9bd
palette = 14=#a1d4c5
palette = 15=#fff0d6
background = #211f1c
foreground = #e6ddcb
cursor-color = #f2b35d
cursor-text = #211f1c
selection-background = #454034
selection-foreground = #6e6b68

Analog Heartbeat 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#211f1crgb(33 31 28)hsl(36 8% 12%)oklch(24.0% 0.006 78.2)—
前景色foreground#e6ddcbrgb(230 221 203)hsl(40 35% 85%)oklch(90.0% 0.026 84.6)12.19 AAA
光標cursor#f2b35drgb(242 179 93)hsl(35 85% 66%)oklch(80.9% 0.126 72.8)8.91 AAA
光標文字cursorText#211f1crgb(33 31 28)hsl(36 8% 12%)oklch(24.0% 0.006 78.2)1.00 低於 AA
選取範圍selection#454034rgb(69 64 52)hsl(42 14% 24%)oklch(37.3% 0.021 88.1)1.59 低於 AA
選取文字selectionText#6e6b68rgb(110 107 104)hsl(30 3% 42%)oklch(53.0% 0.006 67.7)3.10 AA 大字體
黑color0#302c27rgb(48 44 39)hsl(33 10% 17%)oklch(29.6% 0.011 73.5)1.19 低於 AA
紅color1#c96f64rgb(201 111 100)hsl(7 48% 59%)oklch(64.1% 0.116 28.0)4.65 AA
綠color2#94b26argb(148 178 106)hsl(85 32% 56%)oklch(72.4% 0.103 127.2)6.92 AA
黃color3#d9ac63rgb(217 172 99)hsl(37 61% 62%)oklch(77.0% 0.105 78.3)7.85 AAA
藍color4#839eb2rgb(131 158 178)hsl(206 23% 61%)oklch(68.6% 0.042 240.3)5.87 AA
洋紅color5#b28da1rgb(178 141 161)hsl(328 19% 63%)oklch(68.4% 0.052 344.9)5.65 AA
青color6#7eafa5rgb(126 175 165)hsl(168 23% 59%)oklch(71.6% 0.054 180.6)6.70 AA
白color7#d6cbb8rgb(214 203 184)hsl(38 27% 78%)oklch(84.6% 0.029 81.5)10.25 AAA
亮黑color8#62594drgb(98 89 77)hsl(34 12% 34%)oklch(46.9% 0.022 75.1)2.39 低於 AA
亮紅color9#e57b73rgb(229 123 115)hsl(4 69% 67%)oklch(70.0% 0.133 25.5)5.80 AA
亮綠color10#b7d36brgb(183 211 107)hsl(76 54% 62%)oklch(82.4% 0.135 121.8)9.82 AAA
亮黃color11#f2c87brgb(242 200 123)hsl(39 82% 72%)oklch(85.3% 0.107 81.7)10.43 AAA
亮藍color12#a8c4d6rgb(168 196 214)hsl(203 36% 75%)oklch(80.5% 0.040 236.2)9.03 AAA
亮洋紅color13#d0a9bdrgb(208 169 189)hsl(329 29% 74%)oklch(77.6% 0.053 346.1)7.90 AAA
亮青color14#a1d4c5rgb(161 212 197)hsl(162 37% 73%)oklch(83.0% 0.057 174.8)9.97 AAA
亮白color15#fff0d6rgb(255 240 214)hsl(38 100% 92%)oklch(96.0% 0.038 81.5)14.63 AAA

關於 Analog Heartbeat

Analog Heartbeat 採用中性色調的深色背景(#211f1c),預設前景色為 #e6ddcb。正文的 WCAG 對比度為 12.19:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.55:1,最低 4.65:1。

色板整體色彩飽和度偏低,其中紅色為 #c96f64、綠色為 #94b26a、藍色為 #839eb2、洋紅為 #b28da1。

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

與 Analog Heartbeat 相似的配色

資料來源:iTerm2 Color Schemes (MIT)