跳到主要內容

E Ink

E Ink 是一套淺色終端機配色(柔和、單色),背景色 #cccccc,文字色 #474747,對比度 5.8:1

取得設定檔
背景色
#cccccc
前景色
#474747
文字對比度
5.79:1AA
強調色對比度
3.63:1最低 1.38
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
❯

E Ink 的設定檔

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

E Ink

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

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

palette = 0=#cccccc
palette = 1=#333333
palette = 2=#9a9a9a
palette = 3=#868686
palette = 4=#727272
palette = 5=#aeaeae
palette = 6=#4a4a4a
palette = 7=#5e5e5e
palette = 8=#5e5e5e
palette = 9=#333333
palette = 10=#9a9a9a
palette = 11=#868686
palette = 12=#727272
palette = 13=#aeaeae
palette = 14=#4a4a4a
palette = 15=#7c7c7c
background = #cccccc
foreground = #474747
cursor-color = #474747
cursor-text = #cccccc
selection-background = #a9a9a9
selection-foreground = #474747

E Ink 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)—
前景色foreground#474747rgb(71 71 71)hsl(0 0% 28%)oklch(39.8% 0.000 0)5.79 AA
光標cursor#474747rgb(71 71 71)hsl(0 0% 28%)oklch(39.8% 0.000 0)5.79 AA
光標文字cursorText#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)1.00 低於 AA
選取範圍selection#a9a9a9rgb(169 169 169)hsl(0 0% 66%)oklch(73.5% 0.000 0)1.46 低於 AA
選取文字selectionText#474747rgb(71 71 71)hsl(0 0% 28%)oklch(39.8% 0.000 0)5.79 AA
黑color0#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)1.00 低於 AA
紅color1#333333rgb(51 51 51)hsl(0 0% 20%)oklch(32.1% 0.000 0)7.87 AAA
綠color2#9a9a9argb(154 154 154)hsl(0 0% 60%)oklch(68.6% 0.000 0)1.75 低於 AA
黃color3#868686rgb(134 134 134)hsl(0 0% 53%)oklch(62.0% 0.000 0)2.27 低於 AA
藍color4#727272rgb(114 114 114)hsl(0 0% 45%)oklch(55.2% 0.000 0)3.00 低於 AA
洋紅color5#aeaeaergb(174 174 174)hsl(0 0% 68%)oklch(75.1% 0.000 0)1.38 低於 AA
青color6#4a4a4argb(74 74 74)hsl(0 0% 29%)oklch(40.9% 0.000 0)5.52 AA
白color7#5e5e5ergb(94 94 94)hsl(0 0% 37%)oklch(48.2% 0.000 0)4.04 AA 大字體
亮黑color8#5e5e5ergb(94 94 94)hsl(0 0% 37%)oklch(48.2% 0.000 0)4.04 AA 大字體
亮紅color9#333333rgb(51 51 51)hsl(0 0% 20%)oklch(32.1% 0.000 0)7.87 AAA
亮綠color10#9a9a9argb(154 154 154)hsl(0 0% 60%)oklch(68.6% 0.000 0)1.75 低於 AA
亮黃color11#868686rgb(134 134 134)hsl(0 0% 53%)oklch(62.0% 0.000 0)2.27 低於 AA
亮藍color12#727272rgb(114 114 114)hsl(0 0% 45%)oklch(55.2% 0.000 0)3.00 低於 AA
亮洋紅color13#aeaeaergb(174 174 174)hsl(0 0% 68%)oklch(75.1% 0.000 0)1.38 低於 AA
亮青color14#4a4a4argb(74 74 74)hsl(0 0% 29%)oklch(40.9% 0.000 0)5.52 AA
亮白color15#7c7c7crgb(124 124 124)hsl(0 0% 49%)oklch(58.6% 0.000 0)2.60 低於 AA

關於 E Ink

E Ink 採用中性色調的淺色背景(#cccccc),預設前景色為 #474747。正文的 WCAG 對比度為 5.79:1(AA),12 種 ANSI 彩色槽位平均對比度 3.63:1,最低 1.38:1。

色板整體色彩飽和度偏低,其中紅色為 #333333、綠色為 #9a9a9a、藍色為 #727272、洋紅為 #aeaeae。

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

與 E Ink 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)