跳到正文

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