跳到主要內容

Emberglass

Emberglass 是一套深色終端機配色(高對比),背景色 #0b0e11,文字色 #e6e7eb,對比度 15.7:1

取得設定檔
背景色
#0b0e11
前景色
#e6e7eb
文字對比度
15.66:1AAA
強調色對比度
9.54:1最低 4.89
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
❯

Emberglass 的設定檔

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

Emberglass

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

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

palette = 0=#2a2f36
palette = 1=#f97316
palette = 2=#22c55e
palette = 3=#eab308
palette = 4=#38bdf8
palette = 5=#a855f7
palette = 6=#14b8a6
palette = 7=#cbd5e1
palette = 8=#64748b
palette = 9=#fb923c
palette = 10=#86efac
palette = 11=#facc15
palette = 12=#7dd3fc
palette = 13=#c084fc
palette = 14=#67e8f9
palette = 15=#f1f5f9
background = #0b0e11
foreground = #e6e7eb
cursor-color = #f59e0b
cursor-text = #0b0e11
selection-background = #4b5563
selection-foreground = #e8e7e3

Emberglass 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0b0e11rgb(11 14 17)hsl(210 21% 5%)oklch(16.2% 0.008 248.3)—
前景色foreground#e6e7ebrgb(230 231 235)hsl(228 11% 91%)oklch(92.8% 0.005 275.0)15.66 AAA
游標cursor#f59e0brgb(245 158 11)hsl(38 92% 50%)oklch(76.9% 0.165 70.1)9.01 AAA
游標文字cursorText#0b0e11rgb(11 14 17)hsl(210 21% 5%)oklch(16.2% 0.008 248.3)1.00 低於 AA
選取範圍selection#4b5563rgb(75 85 99)hsl(215 14% 34%)oklch(44.6% 0.026 256.8)2.56 低於 AA
選取文字selectionText#e8e7e3rgb(232 231 227)hsl(48 10% 90%)oklch(92.8% 0.005 95.1)15.64 AAA
黑color0#2a2f36rgb(42 47 54)hsl(215 13% 19%)oklch(30.3% 0.014 256.8)1.44 低於 AA
紅color1#f97316rgb(249 115 22)hsl(25 95% 53%)oklch(70.5% 0.187 47.6)6.90 AA
綠color2#22c55ergb(34 197 94)hsl(142 71% 45%)oklch(72.3% 0.192 149.6)8.49 AAA
黃color3#eab308rgb(234 179 8)hsl(45 93% 47%)oklch(79.5% 0.162 86.0)10.09 AAA
藍color4#38bdf8rgb(56 189 248)hsl(198 93% 60%)oklch(75.4% 0.139 232.7)9.03 AAA
洋紅color5#a855f7rgb(168 85 247)hsl(271 91% 65%)oklch(62.7% 0.233 303.9)4.89 AA
青color6#14b8a6rgb(20 184 166)hsl(173 80% 40%)oklch(70.4% 0.123 182.5)7.77 AAA
白color7#cbd5e1rgb(203 213 225)hsl(213 27% 84%)oklch(86.9% 0.020 252.9)13.03 AAA
亮黑color8#64748brgb(100 116 139)hsl(215 16% 47%)oklch(55.4% 0.041 257.4)4.07 AA 大字級
亮紅color9#fb923crgb(251 146 60)hsl(27 96% 61%)oklch(75.8% 0.159 55.9)8.55 AAA
亮綠color10#86efacrgb(134 239 172)hsl(142 77% 73%)oklch(87.1% 0.136 154.4)13.78 AAA
亮黃color11#facc15rgb(250 204 21)hsl(48 96% 53%)oklch(86.1% 0.173 91.9)12.64 AAA
亮藍color12#7dd3fcrgb(125 211 252)hsl(199 95% 74%)oklch(82.8% 0.101 230.3)11.61 AAA
亮洋紅color13#c084fcrgb(192 132 252)hsl(270 95% 75%)oklch(72.2% 0.177 305.5)7.32 AAA
亮青color14#67e8f9rgb(103 232 249)hsl(187 92% 69%)oklch(86.5% 0.115 207.1)13.35 AAA
亮白color15#f1f5f9rgb(241 245 249)hsl(210 40% 96%)oklch(96.8% 0.007 247.9)17.67 AAA

關於 Emberglass

Emberglass 採用中性色調的深色背景(#0b0e11),預設前景色為 #e6e7eb。內文的 WCAG 對比度為 15.66:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.54:1,最低 4.89:1。

色票整體色彩彩度適中,其中紅色為 #f97316、綠色為 #22c55e、藍色為 #38bdf8、洋紅為 #a855f7。

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

與 Emberglass 相似的配色

資料來源:iTerm2 Color Schemes (MIT)