跳到正文

Oxide

Oxide 是一套深色终端配色,背景色 #161616,文字色 #cecece,对比度 11.5:1

获取配置
背景色
#161616
前景色
#cecece
文字对比度
11.50:1AAA
强调色对比度
8.25:1最低 6.35
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
❯

Oxide 的配置文件

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

Oxide

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

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

palette = 0=#262626
palette = 1=#ed756e
palette = 2=#5bb661
palette = 3=#c39900
palette = 4=#3ba6f5
palette = 5=#968ff7
palette = 6=#00baaa
palette = 7=#cecece
palette = 8=#8f8f8f
palette = 9=#ff9890
palette = 10=#7bd77f
palette = 11=#e3b831
palette = 12=#6fc6ff
palette = 13=#b5b2ff
palette = 14=#00dcca
palette = 15=#dedede
background = #161616
foreground = #cecece
cursor-color = #cecece
cursor-text = #161616
selection-background = #262626
selection-foreground = #cecece

Oxide 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#161616rgb(22 22 22)hsl(0 0% 9%)oklch(20.0% 0.000 0)—
前景色foreground#cececergb(206 206 206)hsl(0 0% 81%)oklch(85.1% 0.000 0)11.50 AAA
光标cursor#cececergb(206 206 206)hsl(0 0% 81%)oklch(85.1% 0.000 0)11.50 AAA
光标文字cursorText#161616rgb(22 22 22)hsl(0 0% 9%)oklch(20.0% 0.000 0)1.00 低于 AA
选区selection#262626rgb(38 38 38)hsl(0 0% 15%)oklch(26.9% 0.000 0)1.20 低于 AA
选区文字selectionText#cececergb(206 206 206)hsl(0 0% 81%)oklch(85.1% 0.000 0)11.50 AAA
黑color0#262626rgb(38 38 38)hsl(0 0% 15%)oklch(26.9% 0.000 0)1.20 低于 AA
红color1#ed756ergb(237 117 110)hsl(3 78% 68%)oklch(70.0% 0.150 25.0)6.35 AA
绿color2#5bb661rgb(91 182 97)hsl(124 38% 54%)oklch(70.0% 0.149 145.1)7.16 AAA
黄color3#c39900rgb(195 153 0)hsl(47 100% 38%)oklch(70.2% 0.143 88.9)6.79 AA
蓝color4#3ba6f5rgb(59 166 245)hsl(205 90% 60%)oklch(70.0% 0.150 245.0)6.86 AA
品红color5#968ff7rgb(150 143 247)hsl(244 87% 76%)oklch(70.1% 0.150 284.9)6.52 AA
青color6#00baaargb(0 186 170)hsl(175 100% 36%)oklch(70.9% 0.126 184.1)7.41 AAA
白color7#cececergb(206 206 206)hsl(0 0% 81%)oklch(85.1% 0.000 0)11.50 AAA
亮黑color8#8f8f8frgb(143 143 143)hsl(0 0% 56%)oklch(65.0% 0.000 0)5.60 AA
亮红color9#ff9890rgb(255 152 144)hsl(4 100% 78%)oklch(78.5% 0.125 25.0)8.74 AAA
亮绿color10#7bd77frgb(123 215 127)hsl(123 53% 66%)oklch(80.0% 0.150 144.9)10.23 AAA
亮黄color11#e3b831rgb(227 184 49)hsl(46 76% 54%)oklch(79.9% 0.150 89.9)9.62 AAA
亮蓝color12#6fc6ffrgb(111 198 255)hsl(204 100% 72%)oklch(79.4% 0.117 239.3)9.65 AAA
亮品红color13#b5b2ffrgb(181 178 255)hsl(242 100% 85%)oklch(79.4% 0.108 285.4)9.29 AAA
亮青color14#00dccargb(0 220 202)hsl(175 100% 43%)oklch(80.4% 0.142 184.5)10.42 AAA
亮白color15#dededergb(222 222 222)hsl(0 0% 87%)oklch(90.1% 0.000 0)13.45 AAA

关于 Oxide

Oxide 采用中性色调的深色背景(#161616),默认前景色为 #cecece。正文的 WCAG 对比度为 11.50:1(AAA),12 种 ANSI 彩色槽位平均对比度 8.25:1,最低 6.35:1。

色板整体色彩饱和度适中,其中红色为 #ed756e、绿色为 #5bb661、蓝色为 #3ba6f5、品红为 #968ff7。

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

与 Oxide 相似的配色

数据来源:iTerm2 Color Schemes (MIT)