跳到正文

Cacao

Cacao 是一套深色终端配色(暖色),背景色 #160f0c,文字色 #e8d6c4,对比度 13.4:1

获取配置
背景色
#160f0c
前景色
#e8d6c4
文字对比度
13.40:1AAA
强调色对比度
8.20:1最低 6.00
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
❯

Cacao 的配置文件

16 种格式,都从同一份色板生成

Cacao

存到 ~/.config/ghostty/themes/Cacao,再在 config 或 config.ghostty 里写 theme = Cacao

更多 Ghostty 配色
原始文件
# Theme: Cacao (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/cacao?format=ghostty

palette = 0=#160f0c
palette = 1=#e0705c
palette = 2=#9ac97a
palette = 3=#e8a84a
palette = 4=#a89ad0
palette = 5=#ce8ab0
palette = 6=#74c8b0
palette = 7=#e8d6c4
palette = 8=#766052
palette = 9=#e0705c
palette = 10=#9ac97a
palette = 11=#e8a84a
palette = 12=#a89ad0
palette = 13=#ce8ab0
palette = 14=#74c8b0
palette = 15=#f4e6d6
background = #160f0c
foreground = #e8d6c4
cursor-color = #e8d6c4
cursor-text = #160f0c
selection-background = #433933
selection-foreground = #e8d6c4

Cacao 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#160f0crgb(22 15 12)hsl(18 29% 7%)oklch(17.6% 0.013 44.4)—
前景色foreground#e8d6c4rgb(232 214 196)hsl(30 44% 84%)oklch(88.6% 0.031 67.4)13.40 AAA
光标cursor#e8d6c4rgb(232 214 196)hsl(30 44% 84%)oklch(88.6% 0.031 67.4)13.40 AAA
光标文字cursorText#160f0crgb(22 15 12)hsl(18 29% 7%)oklch(17.6% 0.013 44.4)1.00 低于 AA
选区selection#433933rgb(67 57 51)hsl(23 14% 23%)oklch(35.3% 0.017 52.9)1.69 低于 AA
选区文字selectionText#e8d6c4rgb(232 214 196)hsl(30 44% 84%)oklch(88.6% 0.031 67.4)13.40 AAA
黑color0#160f0crgb(22 15 12)hsl(18 29% 7%)oklch(17.6% 0.013 44.4)1.00 低于 AA
红color1#e0705crgb(224 112 92)hsl(9 68% 62%)oklch(67.2% 0.144 31.6)6.00 AA
绿color2#9ac97argb(154 201 122)hsl(96 42% 63%)oklch(78.4% 0.117 133.5)9.94 AAA
黄color3#e8a84argb(232 168 74)hsl(36 77% 60%)oklch(77.5% 0.132 73.8)9.15 AAA
蓝color4#a89ad0rgb(168 154 208)hsl(256 36% 71%)oklch(71.8% 0.079 296.3)7.40 AAA
品红color5#ce8ab0rgb(206 138 176)hsl(326 41% 67%)oklch(71.3% 0.096 345.2)7.12 AAA
青color6#74c8b0rgb(116 200 176)hsl(163 43% 62%)oklch(77.2% 0.090 173.5)9.60 AAA
白color7#e8d6c4rgb(232 214 196)hsl(30 44% 84%)oklch(88.6% 0.031 67.4)13.40 AAA
亮黑color8#766052rgb(118 96 82)hsl(23 18% 39%)oklch(50.7% 0.036 54.2)3.22 AA 大字号
亮红color9#e0705crgb(224 112 92)hsl(9 68% 62%)oklch(67.2% 0.144 31.6)6.00 AA
亮绿color10#9ac97argb(154 201 122)hsl(96 42% 63%)oklch(78.4% 0.117 133.5)9.94 AAA
亮黄color11#e8a84argb(232 168 74)hsl(36 77% 60%)oklch(77.5% 0.132 73.8)9.15 AAA
亮蓝color12#a89ad0rgb(168 154 208)hsl(256 36% 71%)oklch(71.8% 0.079 296.3)7.40 AAA
亮品红color13#ce8ab0rgb(206 138 176)hsl(326 41% 67%)oklch(71.3% 0.096 345.2)7.12 AAA
亮青color14#74c8b0rgb(116 200 176)hsl(163 43% 62%)oklch(77.2% 0.090 173.5)9.60 AAA
亮白color15#f4e6d6rgb(244 230 214)hsl(32 58% 90%)oklch(93.2% 0.026 71.2)15.47 AAA

关于 Cacao

Cacao 采用暖色调的深色背景(#160f0c),默认前景色为 #e8d6c4。正文的 WCAG 对比度为 13.40:1(AAA),12 种 ANSI 彩色槽位平均对比度 8.20:1,最低 6.00:1。

色板整体色彩饱和度适中,其中红色为 #e0705c、绿色为 #9ac97a、蓝色为 #a89ad0、品红为 #ce8ab0。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Cacao 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)