跳到主要內容

Earthsong

Earthsong 是一套深色終端機配色,背景色 #292520,文字色 #e5c7a9,對比度 9.5:1

取得設定檔
背景色
#292520
前景色
#e5c7a9
文字對比度
9.48:1AAA
強調色對比度
6.91:1最低 3.13
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
❯

Earthsong 的設定檔

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

Earthsong

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

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

palette = 0=#121418
palette = 1=#c94234
palette = 2=#85c54c
palette = 3=#f5ae2e
palette = 4=#1398b9
palette = 5=#d0633d
palette = 6=#509552
palette = 7=#e5c6aa
palette = 8=#675f54
palette = 9=#ff645a
palette = 10=#98e036
palette = 11=#e0d561
palette = 12=#5fdaff
palette = 13=#ff9269
palette = 14=#84f088
palette = 15=#f6f7ec
background = #292520
foreground = #e5c7a9
cursor-color = #f6f7ec
cursor-text = #292520
selection-background = #121418
selection-foreground = #e5c7a9

Earthsong 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#292520rgb(41 37 32)hsl(33 12% 14%)oklch(26.7% 0.011 73.5)—
前景色foreground#e5c7a9rgb(229 199 169)hsl(30 54% 78%)oklch(84.7% 0.053 67.0)9.48 AAA
光標cursor#f6f7ecrgb(246 247 236)hsl(65 41% 95%)oklch(97.2% 0.015 110.9)14.09 AAA
光標文字cursorText#292520rgb(41 37 32)hsl(33 12% 14%)oklch(26.7% 0.011 73.5)1.00 低於 AA
選取範圍selection#121418rgb(18 20 24)hsl(220 14% 8%)oklch(19.1% 0.009 264.3)1.21 低於 AA
選取文字selectionText#e5c7a9rgb(229 199 169)hsl(30 54% 78%)oklch(84.7% 0.053 67.0)9.48 AAA
黑color0#121418rgb(18 20 24)hsl(220 14% 8%)oklch(19.1% 0.009 264.3)1.21 低於 AA
紅color1#c94234rgb(201 66 52)hsl(6 59% 50%)oklch(56.9% 0.174 29.4)3.13 AA 大字體
綠color2#85c54crgb(133 197 76)hsl(92 51% 54%)oklch(75.5% 0.167 132.7)7.31 AAA
黃color3#f5ae2ergb(245 174 46)hsl(39 91% 57%)oklch(79.9% 0.155 76.5)7.96 AAA
藍color4#1398b9rgb(19 152 185)hsl(192 81% 40%)oklch(63.0% 0.112 221.1)4.51 AA
洋紅color5#d0633drgb(208 99 61)hsl(16 61% 53%)oklch(62.5% 0.148 39.4)4.01 AA 大字體
青color6#509552rgb(80 149 82)hsl(122 30% 45%)oklch(60.7% 0.121 144.5)4.18 AA 大字體
白color7#e5c6aargb(229 198 170)hsl(28 53% 78%)oklch(84.6% 0.052 64.1)9.41 AAA
亮黑color8#675f54rgb(103 95 84)hsl(35 10% 37%)oklch(49.0% 0.020 75.9)2.42 低於 AA
亮紅color9#ff645argb(255 100 90)hsl(4 100% 68%)oklch(70.0% 0.191 26.8)5.23 AA
亮綠color10#98e036rgb(152 224 54)hsl(85 73% 55%)oklch(82.9% 0.205 130.4)9.46 AAA
亮黃color11#e0d561rgb(224 213 97)hsl(55 67% 63%)oklch(85.9% 0.137 103.9)10.05 AAA
亮藍color12#5fdaffrgb(95 218 255)hsl(194 100% 69%)oklch(83.3% 0.120 220.9)9.39 AAA
亮洋紅color13#ff9269rgb(255 146 105)hsl(16 100% 71%)oklch(76.8% 0.143 41.1)6.93 AA
亮青color14#84f088rgb(132 240 136)hsl(122 78% 73%)oklch(86.6% 0.173 144.7)10.73 AAA
亮白color15#f6f7ecrgb(246 247 236)hsl(65 41% 95%)oklch(97.2% 0.015 110.9)14.09 AAA

關於 Earthsong

Earthsong 採用中性色調的深色背景(#292520),預設前景色為 #e5c7a9。正文的 WCAG 對比度為 9.48:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.91:1,最低 3.13:1。

色板整體色彩飽和度適中,其中紅色為 #c94234、綠色為 #85c54c、藍色為 #1398b9、洋紅為 #d0633d。

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

與 Earthsong 相似的配色

資料來源:iTerm2 Color Schemes (MIT)