跳到主要內容

Catppuccin Macchiato

Catppuccin Macchiato 是一套深色終端機配色(粉彩、冷色),背景色 #24273a,文字色 #cad3f5,對比度 9.9:1

取得設定檔
背景色
#24273a
前景色
#cad3f5
文字對比度
9.92:1AAA
強調色對比度
8.75:1最低 5.96
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
❯

Catppuccin Macchiato 的設定檔

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

Catppuccin Macchiato

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

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

palette = 0=#494d64
palette = 1=#ed8796
palette = 2=#a6da95
palette = 3=#eed49f
palette = 4=#8aadf4
palette = 5=#f5bde6
palette = 6=#8bd5ca
palette = 7=#b8c0e0
palette = 8=#5b6078
palette = 9=#f2a7b2
palette = 10=#bde3b0
palette = 11=#f4e3c1
palette = 12=#adc5f7
palette = 13=#f493da
palette = 14=#a5ded6
palette = 15=#a5adcb
background = #24273a
foreground = #cad3f5
cursor-color = #f4dbd6
cursor-text = #24273a
selection-background = #f4dbd6
selection-foreground = #24273a

Catppuccin Macchiato 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#24273argb(36 39 58)hsl(232 23% 18%)oklch(27.9% 0.035 276.9)—
前景色foreground#cad3f5rgb(202 211 245)hsl(227 68% 88%)oklch(87.1% 0.048 273.7)9.92 AAA
光標cursor#f4dbd6rgb(244 219 214)hsl(10 58% 90%)oklch(91.1% 0.029 31.1)11.18 AAA
光標文字cursorText#24273argb(36 39 58)hsl(232 23% 18%)oklch(27.9% 0.035 276.9)1.00 低於 AA
選取範圍selection#f4dbd6rgb(244 219 214)hsl(10 58% 90%)oklch(91.1% 0.029 31.1)11.18 AAA
選取文字selectionText#24273argb(36 39 58)hsl(232 23% 18%)oklch(27.9% 0.035 276.9)1.00 低於 AA
黑color0#494d64rgb(73 77 100)hsl(231 16% 34%)oklch(42.6% 0.039 276.9)1.77 低於 AA
紅color1#ed8796rgb(237 135 150)hsl(351 74% 73%)oklch(73.7% 0.125 11.2)5.96 AA
綠color2#a6da95rgb(166 218 149)hsl(105 48% 72%)oklch(83.5% 0.108 138.2)9.17 AAA
黃color3#eed49frgb(238 212 159)hsl(40 70% 78%)oklch(87.9% 0.074 84.8)10.20 AAA
藍color4#8aadf4rgb(138 173 244)hsl(220 83% 75%)oklch(75.0% 0.110 263.8)6.57 AA
洋紅color5#f5bde6rgb(245 189 230)hsl(316 74% 85%)oklch(86.1% 0.083 336.2)9.33 AAA
青color6#8bd5cargb(139 213 202)hsl(171 47% 69%)oklch(82.1% 0.076 184.1)8.74 AAA
白color7#b8c0e0rgb(184 192 224)hsl(228 39% 80%)oklch(81.2% 0.046 274.3)8.17 AAA
亮黑color8#5b6078rgb(91 96 120)hsl(230 14% 41%)oklch(49.4% 0.039 275.7)2.38 低於 AA
亮紅color9#f2a7b2rgb(242 167 178)hsl(351 74% 80%)oklch(80.3% 0.089 9.6)7.67 AAA
亮綠color10#bde3b0rgb(189 227 176)hsl(105 48% 79%)oklch(87.5% 0.079 137.8)10.36 AAA
亮黃color11#f4e3c1rgb(244 227 193)hsl(40 70% 86%)oklch(92.1% 0.048 84.6)11.64 AAA
亮藍color12#adc5f7rgb(173 197 247)hsl(221 82% 82%)oklch(82.3% 0.075 264.8)8.49 AAA
亮洋紅color13#f493dargb(244 147 218)hsl(316 82% 77%)oklch(78.6% 0.145 337.6)7.03 AAA
亮青color14#a5ded6rgb(165 222 214)hsl(172 46% 76%)oklch(85.9% 0.059 185.4)9.83 AAA
亮白color15#a5adcbrgb(165 173 203)hsl(227 27% 72%)oklch(75.1% 0.044 273.5)6.62 AA

關於 Catppuccin Macchiato

Catppuccin Macchiato 採用冷色調的深色背景(#24273a),預設前景色為 #cad3f5。正文的 WCAG 對比度為 9.92:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.75:1,最低 5.96:1。

色板整體色彩飽和度適中,其中紅色為 #ed8796、綠色為 #a6da95、藍色為 #8aadf4、洋紅為 #f5bde6。該配色歸屬 Catppuccin 主題系列。

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

與 Catppuccin Macchiato 相似的配色

資料來源:iTerm2 Color Schemes (MIT)