跳到正文

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/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)