跳到主要內容

Euphrasia

Euphrasia 是一套淺色終端機配色(柔和、冷色),背景色 #cfcfd9,文字色 #1c2027,對比度 10.6:1

取得設定檔
背景色
#cfcfd9
前景色
#1c2027
文字對比度
10.57:1AAA
強調色對比度
2.53:1最低 1.26
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
❯

Euphrasia 的設定檔

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

Euphrasia

存到 ~/.config/ghostty/themes/Euphrasia,再在 config 或 config.ghostty 裡寫 theme = Euphrasia

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

palette = 0=#192033
palette = 1=#a62a3e
palette = 2=#38912b
palette = 3=#b27d12
palette = 4=#355c9a
palette = 5=#7c4f9f
palette = 6=#258f8f
palette = 7=#77858c
palette = 8=#666666
palette = 9=#f04758
palette = 10=#93c724
palette = 11=#ddb62b
palette = 12=#45a3e6
palette = 13=#c953ef
palette = 14=#60c6c8
palette = 15=#c0c0c0
background = #cfcfd9
foreground = #1c2027
cursor-color = #1c2027
cursor-text = #cfcfd9
selection-background = #9d9fa8
selection-foreground = #1c2027

Euphrasia 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#cfcfd9rgb(207 207 217)hsl(240 12% 83%)oklch(85.7% 0.014 286.1)—
前景色foreground#1c2027rgb(28 32 39)hsl(218 16% 13%)oklch(24.3% 0.015 261.7)10.57 AAA
游標cursor#1c2027rgb(28 32 39)hsl(218 16% 13%)oklch(24.3% 0.015 261.7)10.57 AAA
游標文字cursorText#cfcfd9rgb(207 207 217)hsl(240 12% 83%)oklch(85.7% 0.014 286.1)1.00 低於 AA
選取範圍selection#9d9fa8rgb(157 159 168)hsl(229 6% 64%)oklch(70.4% 0.013 276.0)1.71 低於 AA
選取文字selectionText#1c2027rgb(28 32 39)hsl(218 16% 13%)oklch(24.3% 0.015 261.7)10.57 AAA
黑color0#192033rgb(25 32 51)hsl(224 34% 15%)oklch(24.7% 0.038 268.1)10.48 AAA
紅color1#a62a3ergb(166 42 62)hsl(350 60% 41%)oklch(48.6% 0.159 16.7)4.49 AA 大字級
綠color2#38912brgb(56 145 43)hsl(112 54% 37%)oklch(58.2% 0.162 141.3)2.59 低於 AA
黃color3#b27d12rgb(178 125 18)hsl(40 82% 38%)oklch(62.7% 0.126 77.7)2.33 低於 AA
藍color4#355c9argb(53 92 154)hsl(217 49% 41%)oklch(47.7% 0.110 259.3)4.31 AA 大字級
洋紅color5#7c4f9frgb(124 79 159)hsl(274 34% 47%)oklch(51.3% 0.130 308.5)3.91 AA 大字級
青color6#258f8frgb(37 143 143)hsl(180 59% 35%)oklch(59.3% 0.092 195.0)2.51 低於 AA
白color7#77858crgb(119 133 140)hsl(200 8% 51%)oklch(60.8% 0.020 229.2)2.46 低於 AA
亮黑color8#666666rgb(102 102 102)hsl(0 0% 40%)oklch(51.0% 0.000 0)3.71 AA 大字級
亮紅color9#f04758rgb(240 71 88)hsl(354 85% 61%)oklch(64.4% 0.204 19.6)2.36 低於 AA
亮綠color10#93c724rgb(147 199 36)hsl(79 69% 46%)oklch(76.5% 0.187 126.8)1.30 低於 AA
亮黃color11#ddb62brgb(221 182 43)hsl(47 72% 52%)oklch(78.9% 0.150 91.9)1.26 低於 AA
亮藍color12#45a3e6rgb(69 163 230)hsl(205 76% 59%)oklch(68.9% 0.132 243.2)1.78 低於 AA
亮洋紅color13#c953efrgb(201 83 239)hsl(285 83% 63%)oklch(65.8% 0.237 316.9)2.28 低於 AA
亮青color14#60c6c8rgb(96 198 200)hsl(181 49% 58%)oklch(76.7% 0.095 197.1)1.30 低於 AA
亮白color15#c0c0c0rgb(192 192 192)hsl(0 0% 75%)oklch(80.8% 0.000 0)1.18 低於 AA

關於 Euphrasia

Euphrasia 採用冷色調的淺色背景(#cfcfd9),預設前景色為 #1c2027。內文的 WCAG 對比度為 10.57:1(AAA),12 種 ANSI 彩色槽位平均對比度 2.53:1,最低 1.26:1。

色票整體色彩彩度適中,其中紅色為 #a62a3e、綠色為 #38912b、藍色為 #355c9a、洋紅為 #7c4f9f。

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

與 Euphrasia 相似的配色

資料來源:terminal.sexy (MIT)