跳到正文

Ocotillo

Ocotillo 是一套深色终端配色(粉彩、暖色),背景色 #66301e,文字色 #fff0d8,对比度 9.3:1

获取配置
背景色
#66301e
前景色
#fff0d8
文字对比度
9.32:1AAA
强调色对比度
6.57:1最低 5.31
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
❯

Ocotillo 的配置文件

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

Ocotillo

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

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

palette = 0=#d8c8bc
palette = 1=#ffa08a
palette = 2=#91d6a4
palette = 3=#f4cf6c
palette = 4=#95c9ed
palette = 5=#e7a8d1
palette = 6=#88ddd6
palette = 7=#fff0d8
palette = 8=#e5d6cb
palette = 9=#ffb5a0
palette = 10=#aae0b7
palette = 11=#ffdf8b
palette = 12=#b1d8f3
palette = 13=#efbfdb
palette = 14=#a8e8e2
palette = 15=#fffaf0
background = #66301e
foreground = #fff0d8
cursor-color = #f7be55
cursor-text = #66301e
selection-background = #854b37
selection-foreground = #fff8e9

Ocotillo 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#66301ergb(102 48 30)hsl(15 55% 26%)oklch(37.8% 0.083 38.9)—
前景色foreground#fff0d8rgb(255 240 216)hsl(37 100% 92%)oklch(96.1% 0.035 79.7)9.32 AAA
光标cursor#f7be55rgb(247 190 85)hsl(39 91% 65%)oklch(83.4% 0.137 80.1)6.21 AA
光标文字cursorText#66301ergb(102 48 30)hsl(15 55% 26%)oklch(37.8% 0.083 38.9)1.00 低于 AA
选区selection#854b37rgb(133 75 55)hsl(15 41% 37%)oklch(47.7% 0.085 39.7)1.52 低于 AA
选区文字selectionText#fff8e9rgb(255 248 233)hsl(41 100% 96%)oklch(98.1% 0.021 85.9)9.90 AAA
黑color0#d8c8bcrgb(216 200 188)hsl(26 26% 79%)oklch(84.3% 0.024 59.3)6.43 AA
红color1#ffa08argb(255 160 138)hsl(11 100% 77%)oklch(79.7% 0.118 33.8)5.31 AA
绿color2#91d6a4rgb(145 214 164)hsl(137 46% 70%)oklch(81.7% 0.099 152.4)6.16 AA
黄color3#f4cf6crgb(244 207 108)hsl(44 86% 69%)oklch(86.7% 0.125 89.2)6.97 AA
蓝color4#95c9edrgb(149 201 237)hsl(205 71% 76%)oklch(81.2% 0.074 239.1)5.91 AA
品红color5#e7a8d1rgb(231 168 209)hsl(321 57% 78%)oklch(80.3% 0.091 340.2)5.44 AA
青color6#88ddd6rgb(136 221 214)hsl(175 56% 70%)oklch(84.2% 0.083 189.0)6.66 AA
白color7#fff0d8rgb(255 240 216)hsl(37 100% 92%)oklch(96.1% 0.035 79.7)9.32 AAA
亮黑color8#e5d6cbrgb(229 214 203)hsl(25 33% 85%)oklch(88.5% 0.022 58.8)7.38 AAA
亮红color9#ffb5a0rgb(255 181 160)hsl(13 100% 81%)oklch(83.8% 0.092 36.5)6.16 AA
亮绿color10#aae0b7rgb(170 224 183)hsl(134 47% 77%)oklch(85.8% 0.079 151.9)7.00 AAA
亮黄color11#ffdf8brgb(255 223 139)hsl(43 100% 77%)oklch(91.2% 0.109 89.3)8.06 AAA
亮蓝color12#b1d8f3rgb(177 216 243)hsl(205 73% 82%)oklch(86.3% 0.056 238.5)6.97 AA
亮品红color13#efbfdbrgb(239 191 219)hsl(325 60% 84%)oklch(85.5% 0.066 342.7)6.55 AA
亮青color14#a8e8e2rgb(168 232 226)hsl(174 58% 78%)oklch(88.6% 0.065 188.8)7.63 AAA
亮白color15#fffaf0rgb(255 250 240)hsl(40 100% 97%)oklch(98.6% 0.014 84.6)10.06 AAA

关于 Ocotillo

Ocotillo 采用暖色调的深色背景(#66301e),默认前景色为 #fff0d8。正文的 WCAG 对比度为 9.32:1(AAA),12 种 ANSI 彩色槽位平均对比度 6.57:1,最低 5.31:1。

色板整体色彩饱和度适中,其中红色为 #ffa08a、绿色为 #91d6a4、蓝色为 #95c9ed、品红为 #e7a8d1。

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

与 Ocotillo 相似的配色

数据来源:iTerm2 Color Schemes (MIT)