跳到主要內容

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