跳到主要內容

Earthsong Contrast

Earthsong Contrast 是一套深色終端機配色,背景色 #12100f,文字色 #ebd1b7,對比度 12.9:1

取得設定檔
背景色
#12100f
前景色
#ebd1b7
文字對比度
12.95:1AAA
強調色對比度
8.75:1最低 2.88
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 Contrast 的設定檔

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

Earthsong Contrast

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

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

palette = 0=#201c1b
palette = 1=#ba0e2e
palette = 2=#95cc5e
palette = 3=#db784d
palette = 4=#60a365
palette = 5=#db784d
palette = 6=#95cc5e
palette = 7=#f1decb
palette = 8=#3c3532
palette = 9=#e61f44
palette = 10=#c8e5ab
palette = 11=#ecb8a2
palette = 12=#a1c8a4
palette = 13=#ecb8a2
palette = 14=#c8e5ab
palette = 15=#fcf7f3
background = #12100f
foreground = #ebd1b7
cursor-color = #f8f8f0
cursor-text = #ebd1b7
selection-background = #db784d
selection-foreground = #ffffff

Earthsong Contrast 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#12100frgb(18 16 15)hsl(20 9% 6%)oklch(17.5% 0.004 48.5)—
前景色foreground#ebd1b7rgb(235 209 183)hsl(30 57% 82%)oklch(87.6% 0.045 67.2)12.95 AAA
光標cursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)17.78 AAA
光標文字cursorText#ebd1b7rgb(235 209 183)hsl(30 57% 82%)oklch(87.6% 0.045 67.2)12.95 AAA
選取範圍selection#db784drgb(219 120 77)hsl(18 66% 58%)oklch(67.5% 0.136 43.4)6.15 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.97 AAA
黑color0#201c1brgb(32 28 27)hsl(12 8% 12%)oklch(23.1% 0.007 34.3)1.12 低於 AA
紅color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.88 低於 AA
綠color2#95cc5ergb(149 204 94)hsl(90 52% 58%)oklch(78.3% 0.153 131.2)10.01 AAA
黃color3#db784drgb(219 120 77)hsl(18 66% 58%)oklch(67.5% 0.136 43.4)6.15 AA
藍color4#60a365rgb(96 163 101)hsl(124 27% 51%)oklch(65.5% 0.114 145.8)6.26 AA
洋紅color5#db784drgb(219 120 77)hsl(18 66% 58%)oklch(67.5% 0.136 43.4)6.15 AA
青color6#95cc5ergb(149 204 94)hsl(90 52% 58%)oklch(78.3% 0.153 131.2)10.01 AAA
白color7#f1decbrgb(241 222 203)hsl(30 58% 87%)oklch(91.1% 0.033 67.4)14.50 AAA
亮黑color8#3c3532rgb(60 53 50)hsl(18 9% 22%)oklch(33.5% 0.011 44.7)1.58 低於 AA
亮紅color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)4.20 AA 大字體
亮綠color10#c8e5abrgb(200 229 171)hsl(90 53% 78%)oklch(88.6% 0.083 129.6)13.78 AAA
亮黃color11#ecb8a2rgb(236 184 162)hsl(18 66% 78%)oklch(82.4% 0.068 44.0)10.79 AAA
亮藍color12#a1c8a4rgb(161 200 164)hsl(125 26% 71%)oklch(79.5% 0.065 147.0)10.22 AAA
亮洋紅color13#ecb8a2rgb(236 184 162)hsl(18 66% 78%)oklch(82.4% 0.068 44.0)10.79 AAA
亮青color14#c8e5abrgb(200 229 171)hsl(90 53% 78%)oklch(88.6% 0.083 129.6)13.78 AAA
亮白color15#fcf7f3rgb(252 247 243)hsl(27 60% 97%)oklch(97.9% 0.008 61.5)17.83 AAA

關於 Earthsong Contrast

Earthsong Contrast 採用中性色調的深色背景(#12100f),預設前景色為 #ebd1b7。正文的 WCAG 對比度為 12.95:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.75:1,最低 2.88:1。

色板整體色彩飽和度適中,其中紅色為 #ba0e2e、綠色為 #95cc5e、藍色為 #60a365、洋紅為 #db784d。

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

與 Earthsong Contrast 相似的配色

資料來源:Rainglow (MIT)