跳到主要內容

Ember

Ember 是一套深色終端機配色(暖色),背景色 #1b0f0b,文字色 #f3e3d1,對比度 14.9:1

取得設定檔
背景色
#1b0f0b
前景色
#f3e3d1
文字對比度
14.93:1AAA
強調色對比度
8.26:1最低 5.12
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
❯

Ember 的設定檔

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

Ember

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

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

palette = 0=#40261b
palette = 1=#e4573f
palette = 2=#79ad58
palette = 3=#d99a33
palette = 4=#6196e6
palette = 5=#d077b3
palette = 6=#4ac3b1
palette = 7=#d7b995
palette = 8=#6a4a38
palette = 9=#ff7b5e
palette = 10=#a8c976
palette = 11=#ffc15a
palette = 12=#8bb8f2
palette = 13=#e59ad6
palette = 14=#66d9c4
palette = 15=#ffe8c7
background = #1b0f0b
foreground = #f3e3d1
cursor-color = #d17a3c
cursor-text = #1b0f0b
selection-background = #4a2a1e
selection-foreground = #f3e3d1

Ember 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1b0f0brgb(27 15 11)hsl(15 42% 7%)oklch(18.4% 0.022 39.2)—
前景色foreground#f3e3d1rgb(243 227 209)hsl(32 59% 89%)oklch(92.4% 0.030 70.7)14.93 AAA
游標cursor#d17a3crgb(209 122 60)hsl(25 62% 53%)oklch(66.3% 0.133 53.5)5.86 AA
游標文字cursorText#1b0f0brgb(27 15 11)hsl(15 42% 7%)oklch(18.4% 0.022 39.2)1.00 低於 AA
選取範圍selection#4a2a1ergb(74 42 30)hsl(16 42% 20%)oklch(32.3% 0.052 41.2)1.47 低於 AA
選取文字selectionText#f3e3d1rgb(243 227 209)hsl(32 59% 89%)oklch(92.4% 0.030 70.7)14.93 AAA
黑color0#40261brgb(64 38 27)hsl(18 41% 18%)oklch(29.9% 0.044 43.6)1.35 低於 AA
紅color1#e4573frgb(228 87 63)hsl(9 75% 57%)oklch(63.9% 0.180 31.9)5.12 AA
綠color2#79ad58rgb(121 173 88)hsl(97 34% 51%)oklch(69.1% 0.128 134.5)7.08 AAA
黃color3#d99a33rgb(217 154 51)hsl(37 69% 53%)oklch(73.0% 0.136 75.2)7.70 AAA
藍color4#6196e6rgb(97 150 230)hsl(216 73% 64%)oklch(67.1% 0.132 258.4)6.26 AA
洋紅color5#d077b3rgb(208 119 179)hsl(320 49% 64%)oklch(68.5% 0.133 340.5)6.23 AA
青color6#4ac3b1rgb(74 195 177)hsl(171 50% 53%)oklch(74.5% 0.110 181.6)8.69 AAA
白color7#d7b995rgb(215 185 149)hsl(33 45% 71%)oklch(80.3% 0.059 71.9)10.06 AAA
亮黑color8#6a4a38rgb(106 74 56)hsl(22 31% 32%)oklch(43.9% 0.052 50.3)2.37 低於 AA
亮紅color9#ff7b5ergb(255 123 94)hsl(11 100% 68%)oklch(73.1% 0.167 33.8)7.36 AAA
亮綠color10#a8c976rgb(168 201 118)hsl(84 43% 63%)oklch(79.2% 0.115 126.6)10.07 AAA
亮黃color11#ffc15argb(255 193 90)hsl(37 100% 68%)oklch(84.9% 0.138 77.6)11.63 AAA
亮藍color12#8bb8f2rgb(139 184 242)hsl(214 80% 75%)oklch(77.2% 0.097 255.1)9.14 AAA
亮洋紅color13#e59ad6rgb(229 154 214)hsl(312 59% 75%)oklch(77.9% 0.118 334.1)8.86 AAA
亮青color14#66d9c4rgb(102 217 196)hsl(169 60% 63%)oklch(81.3% 0.110 179.7)10.97 AAA
亮白color15#ffe8c7rgb(255 232 199)hsl(35 100% 89%)oklch(94.1% 0.050 76.9)15.73 AAA

關於 Ember

Ember 採用暖色調的深色背景(#1b0f0b),預設前景色為 #f3e3d1。內文的 WCAG 對比度為 14.93:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.26:1,最低 5.12:1。

色票整體色彩彩度適中,其中紅色為 #e4573f、綠色為 #79ad58、藍色為 #6196e6、洋紅為 #d077b3。

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

與 Ember 相似的配色

資料來源:iTerm2 Color Schemes (MIT)