跳到主要內容

Coffee Theme

Coffee Theme 是一套淺色終端機配色(柔和、鮮豔),背景色 #f5deb3,文字色 #000000,對比度 16.0:1

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

Coffee Theme 的設定檔

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

Coffee Theme

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

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

palette = 0=#000000
palette = 1=#c91b00
palette = 2=#00c200
palette = 3=#c7c400
palette = 4=#0225c7
palette = 5=#ca30c7
palette = 6=#00c5c7
palette = 7=#c7c7c7
palette = 8=#686868
palette = 9=#ff6e67
palette = 10=#5ffa68
palette = 11=#fffc67
palette = 12=#6871ff
palette = 13=#ff77ff
palette = 14=#60fdff
palette = 15=#ffffff
background = #f5deb3
foreground = #000000
cursor-color = #c7c7c7
cursor-text = #fffc67
selection-background = #c1deff
selection-foreground = #000000

Coffee Theme 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f5deb3rgb(245 222 179)hsl(39 77% 83%)oklch(90.9% 0.061 83.0)—
前景色foreground#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)15.98 AAA
游標cursor#c7c7c7rgb(199 199 199)hsl(0 0% 78%)oklch(83.0% 0.000 0)1.29 低於 AA
游標文字cursorText#fffc67rgb(255 252 103)hsl(59 100% 70%)oklch(96.6% 0.168 108.1)1.21 低於 AA
選取範圍selection#c1deffrgb(193 222 255)hsl(212 100% 88%)oklch(89.0% 0.055 251.8)1.05 低於 AA
選取文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)15.98 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)15.98 AAA
紅color1#c91b00rgb(201 27 0)hsl(8 100% 39%)oklch(53.4% 0.207 31.1)4.39 AA 大字級
綠color2#00c200rgb(0 194 0)hsl(120 100% 38%)oklch(70.5% 0.240 142.5)1.83 低於 AA
黃color3#c7c400rgb(199 196 0)hsl(59 100% 39%)oklch(79.7% 0.172 108.6)1.41 低於 AA
藍color4#0225c7rgb(2 37 199)hsl(229 98% 39%)oklch(40.2% 0.242 264.3)7.64 AAA
洋紅color5#ca30c7rgb(202 48 199)hsl(301 62% 49%)oklch(60.5% 0.244 329.0)3.36 AA 大字級
青color6#00c5c7rgb(0 197 199)hsl(181 100% 39%)oklch(74.6% 0.127 196.1)1.63 低於 AA
白color7#c7c7c7rgb(199 199 199)hsl(0 0% 78%)oklch(83.0% 0.000 0)1.29 低於 AA
亮黑color8#686868rgb(104 104 104)hsl(0 0% 41%)oklch(51.7% 0.000 0)4.24 AA 大字級
亮紅color9#ff6e67rgb(255 110 103)hsl(3 100% 70%)oklch(71.5% 0.178 25.4)2.08 低於 AA
亮綠color10#5ffa68rgb(95 250 104)hsl(123 94% 68%)oklch(87.3% 0.230 144.2)1.04 低於 AA
亮黃color11#fffc67rgb(255 252 103)hsl(59 100% 70%)oklch(96.6% 0.168 108.1)1.21 低於 AA
亮藍color12#6871ffrgb(104 113 255)hsl(236 100% 70%)oklch(61.8% 0.208 275.8)2.96 低於 AA
亮洋紅color13#ff77ffrgb(255 119 255)hsl(300 100% 73%)oklch(77.6% 0.228 327.5)1.71 低於 AA
亮青color14#60fdffrgb(96 253 255)hsl(181 100% 69%)oklch(91.3% 0.130 196.3)1.06 低於 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.31 低於 AA

關於 Coffee Theme

Coffee Theme 採用暖色調的淺色背景(#f5deb3),預設前景色為 #000000。內文的 WCAG 對比度為 15.98:1(AAA),12 種 ANSI 彩色槽位平均對比度 2.53:1,最低 1.04:1。

色票整體色彩彩度較高,其中紅色為 #c91b00、綠色為 #00c200、藍色為 #0225c7、洋紅為 #ca30c7。

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

與 Coffee Theme 相似的配色

資料來源:iTerm2 Color Schemes (MIT)