跳到主要內容

Ocote

Ocote 是一套深色終端機配色,背景色 #14100c,文字色 #e7dcc6,對比度 13.9:1

取得設定檔
背景色
#14100c
前景色
#e7dcc6
文字對比度
13.93:1AAA
強調色對比度
8.53:1最低 5.74
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
❯

Ocote 的設定檔

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

Ocote

存到 ~/.config/ghostty/themes/Ocote,再在 config 或 config.ghostty 裡寫 theme = Ocote

更多 Ghostty 配色
原始檔
# Theme: Ocote (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/ocote?format=ghostty

palette = 0=#14100c
palette = 1=#e8635a
palette = 2=#7dc97a
palette = 3=#e8b43a
palette = 4=#82a6e0
palette = 5=#c58ae0
palette = 6=#6dd8c8
palette = 7=#e7dcc6
palette = 8=#6b6253
palette = 9=#e8635a
palette = 10=#7dc97a
palette = 11=#e8b43a
palette = 12=#82a6e0
palette = 13=#c58ae0
palette = 14=#6dd8c8
palette = 15=#faf6ec
background = #14100c
foreground = #e7dcc6
cursor-color = #e7dcc6
cursor-text = #14100c
selection-background = #413b33
selection-foreground = #e7dcc6

Ocote 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#14100crgb(20 16 12)hsl(30 25% 6%)oklch(17.7% 0.010 67.1)—
前景色foreground#e7dcc6rgb(231 220 198)hsl(40 41% 84%)oklch(89.7% 0.032 84.6)13.93 AAA
游標cursor#e7dcc6rgb(231 220 198)hsl(40 41% 84%)oklch(89.7% 0.032 84.6)13.93 AAA
游標文字cursorText#14100crgb(20 16 12)hsl(30 25% 6%)oklch(17.7% 0.010 67.1)1.00 低於 AA
選取範圍selection#413b33rgb(65 59 51)hsl(34 12% 23%)oklch(35.6% 0.016 75.1)1.71 低於 AA
選取文字selectionText#e7dcc6rgb(231 220 198)hsl(40 41% 84%)oklch(89.7% 0.032 84.6)13.93 AAA
黑color0#14100crgb(20 16 12)hsl(30 25% 6%)oklch(17.7% 0.010 67.1)1.00 低於 AA
紅color1#e8635argb(232 99 90)hsl(4 76% 63%)oklch(66.4% 0.167 26.5)5.74 AA
綠color2#7dc97argb(125 201 122)hsl(118 42% 63%)oklch(76.7% 0.134 143.3)9.47 AAA
黃color3#e8b43argb(232 180 58)hsl(42 79% 57%)oklch(79.7% 0.145 84.4)9.94 AAA
藍color4#82a6e0rgb(130 166 224)hsl(217 60% 69%)oklch(72.1% 0.094 259.7)7.65 AAA
洋紅color5#c58ae0rgb(197 138 224)hsl(281 58% 71%)oklch(72.3% 0.136 314.7)7.29 AAA
青color6#6dd8c8rgb(109 216 200)hsl(171 58% 64%)oklch(81.4% 0.102 182.7)11.10 AAA
白color7#e7dcc6rgb(231 220 198)hsl(40 41% 84%)oklch(89.7% 0.032 84.6)13.93 AAA
亮黑color8#6b6253rgb(107 98 83)hsl(38 13% 37%)oklch(50.0% 0.026 80.6)3.15 AA 大字級
亮紅color9#e8635argb(232 99 90)hsl(4 76% 63%)oklch(66.4% 0.167 26.5)5.74 AA
亮綠color10#7dc97argb(125 201 122)hsl(118 42% 63%)oklch(76.7% 0.134 143.3)9.47 AAA
亮黃color11#e8b43argb(232 180 58)hsl(42 79% 57%)oklch(79.7% 0.145 84.4)9.94 AAA
亮藍color12#82a6e0rgb(130 166 224)hsl(217 60% 69%)oklch(72.1% 0.094 259.7)7.65 AAA
亮洋紅color13#c58ae0rgb(197 138 224)hsl(281 58% 71%)oklch(72.3% 0.136 314.7)7.29 AAA
亮青color14#6dd8c8rgb(109 216 200)hsl(171 58% 64%)oklch(81.4% 0.102 182.7)11.10 AAA
亮白color15#faf6ecrgb(250 246 236)hsl(43 58% 95%)oklch(97.4% 0.014 88.7)17.54 AAA

關於 Ocote

Ocote 採用中性色調的深色背景(#14100c),預設前景色為 #e7dcc6。內文的 WCAG 對比度為 13.93:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.53:1,最低 5.74:1。

色票整體色彩彩度適中,其中紅色為 #e8635a、綠色為 #7dc97a、藍色為 #82a6e0、洋紅為 #c58ae0。

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

與 Ocote 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)