跳到主要內容

Espresso Libre

Espresso Libre 是一套深色終端機配色(柔和、鮮艷),背景色 #2a211c,文字色 #b8a898,對比度 6.8:1

取得設定檔
背景色
#2a211c
前景色
#b8a898
文字對比度
6.82:1AA
強調色對比度
6.98:1最低 2.68
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
❯

Espresso Libre 的設定檔

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

Espresso Libre

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

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

palette = 0=#000000
palette = 1=#cc0000
palette = 2=#1a921c
palette = 3=#f0e53a
palette = 4=#0066ff
palette = 5=#c5656b
palette = 6=#06989a
palette = 7=#d3d7cf
palette = 8=#555753
palette = 9=#ef2929
palette = 10=#9aff87
palette = 11=#fffb5c
palette = 12=#43a8ed
palette = 13=#ff818a
palette = 14=#34e2e2
palette = 15=#eeeeec
background = #2a211c
foreground = #b8a898
cursor-color = #ffffff
cursor-text = #000000
selection-background = #c3dcff
selection-foreground = #b8a898

Espresso Libre 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#2a211crgb(42 33 28)hsl(21 20% 14%)oklch(25.7% 0.017 50.7)—
前景色foreground#b8a898rgb(184 168 152)hsl(30 18% 66%)oklch(74.1% 0.029 67.4)6.82 AA
光標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.76 AAA
光標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.33 低於 AA
選取範圍selection#c3dcffrgb(195 220 255)hsl(215 100% 88%)oklch(88.7% 0.055 256.8)11.26 AAA
選取文字selectionText#b8a898rgb(184 168 152)hsl(30 18% 66%)oklch(74.1% 0.029 67.4)6.82 AA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.33 低於 AA
紅color1#cc0000rgb(204 0 0)hsl(0 100% 40%)oklch(53.1% 0.218 29.2)2.68 低於 AA
綠color2#1a921crgb(26 146 28)hsl(121 70% 34%)oklch(57.6% 0.182 142.9)3.88 AA 大字體
黃color3#f0e53argb(240 229 58)hsl(56 86% 58%)oklch(90.3% 0.177 105.6)11.99 AAA
藍color4#0066ffrgb(0 102 255)hsl(216 100% 50%)oklch(56.3% 0.241 260.8)3.26 AA 大字體
洋紅color5#c5656brgb(197 101 107)hsl(356 45% 58%)oklch(62.1% 0.122 17.4)4.09 AA 大字體
青color6#06989argb(6 152 154)hsl(181 93% 31%)oklch(61.7% 0.104 196.5)4.48 AA 大字體
白color7#d3d7cfrgb(211 215 207)hsl(90 9% 83%)oklch(87.4% 0.012 128.6)10.80 AAA
亮黑color8#555753rgb(85 87 83)hsl(90 2% 33%)oklch(45.4% 0.007 128.6)2.16 低於 AA
亮紅color9#ef2929rgb(239 41 41)hsl(0 86% 55%)oklch(61.3% 0.230 27.4)3.77 AA 大字體
亮綠color10#9aff87rgb(154 255 135)hsl(111 100% 76%)oklch(91.1% 0.183 140.5)12.78 AAA
亮黃color11#fffb5crgb(255 251 92)hsl(59 100% 68%)oklch(96.3% 0.175 107.9)14.41 AAA
亮藍color12#43a8edrgb(67 168 237)hsl(204 83% 60%)oklch(70.3% 0.137 242.4)6.05 AA
亮洋紅color13#ff818argb(255 129 138)hsl(356 100% 75%)oklch(74.8% 0.153 17.0)6.57 AA
亮青color14#34e2e2rgb(52 226 226)hsl(180 75% 55%)oklch(83.1% 0.133 194.9)9.85 AAA
亮白color15#eeeeecrgb(238 238 236)hsl(60 6% 93%)oklch(94.9% 0.003 106.5)13.56 AAA

關於 Espresso Libre

Espresso Libre 採用暖色調的深色背景(#2a211c),預設前景色為 #b8a898。正文的 WCAG 對比度為 6.82:1(AA),12 種 ANSI 彩色槽位平均對比度 6.98:1,最低 2.68:1。

色板整體色彩飽和度較高,其中紅色為 #cc0000、綠色為 #1a921c、藍色為 #0066ff、洋紅為 #c5656b。

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

與 Espresso Libre 相似的配色

資料來源:iTerm2 Color Schemes (MIT)