跳到正文

Oxocarbon

Oxocarbon 是一套深色终端配色(鲜艳),背景色 #161616,文字色 #f2f4f8,对比度 16.4:1

获取配置
背景色
#161616
前景色
#f2f4f8
文字对比度
16.43:1AAA
强调色对比度
7.79:1最低 5.58
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
❯

Oxocarbon 的配置文件

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

Oxocarbon

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

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

palette = 0=#161616
palette = 1=#00dfdb
palette = 2=#00b4ff
palette = 3=#ff4297
palette = 4=#00c15a
palette = 5=#c693ff
palette = 6=#ff74b8
palette = 7=#f2f4f8
palette = 8=#585858
palette = 9=#00dfdb
palette = 10=#00b4ff
palette = 11=#ff4297
palette = 12=#00c15a
palette = 13=#c693ff
palette = 14=#ff74b8
palette = 15=#f2f4f8
background = #161616
foreground = #f2f4f8
cursor-color = #ffffff
cursor-text = #000000
selection-background = #393939
selection-foreground = #161616

Oxocarbon 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#161616rgb(22 22 22)hsl(0 0% 9%)oklch(20.0% 0.000 0)—
前景色foreground#f2f4f8rgb(242 244 248)hsl(220 30% 96%)oklch(96.7% 0.006 264.5)16.43 AAA
光标cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.10 AAA
光标文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.16 低于 AA
选区selection#393939rgb(57 57 57)hsl(0 0% 22%)oklch(34.5% 0.000 0)1.57 低于 AA
选区文字selectionText#161616rgb(22 22 22)hsl(0 0% 9%)oklch(20.0% 0.000 0)1.00 低于 AA
黑color0#161616rgb(22 22 22)hsl(0 0% 9%)oklch(20.0% 0.000 0)1.00 低于 AA
红color1#00dfdbrgb(0 223 219)hsl(179 100% 44%)oklch(81.7% 0.140 192.5)10.84 AAA
绿color2#00b4ffrgb(0 180 255)hsl(198 100% 50%)oklch(73.0% 0.160 237.4)7.73 AAA
黄color3#ff4297rgb(255 66 151)hsl(333 100% 63%)oklch(68.0% 0.232 358.2)5.58 AA
蓝color4#00c15argb(0 193 90)hsl(148 100% 38%)oklch(70.9% 0.195 150.1)7.56 AAA
品红color5#c693ffrgb(198 147 255)hsl(268 100% 79%)oklch(75.3% 0.158 304.7)7.77 AAA
青color6#ff74b8rgb(255 116 184)hsl(331 100% 73%)oklch(74.3% 0.183 351.9)7.27 AAA
白color7#f2f4f8rgb(242 244 248)hsl(220 30% 96%)oklch(96.7% 0.006 264.5)16.43 AAA
亮黑color8#585858rgb(88 88 88)hsl(0 0% 35%)oklch(46.0% 0.000 0)2.54 低于 AA
亮红color9#00dfdbrgb(0 223 219)hsl(179 100% 44%)oklch(81.7% 0.140 192.5)10.84 AAA
亮绿color10#00b4ffrgb(0 180 255)hsl(198 100% 50%)oklch(73.0% 0.160 237.4)7.73 AAA
亮黄color11#ff4297rgb(255 66 151)hsl(333 100% 63%)oklch(68.0% 0.232 358.2)5.58 AA
亮蓝color12#00c15argb(0 193 90)hsl(148 100% 38%)oklch(70.9% 0.195 150.1)7.56 AAA
亮品红color13#c693ffrgb(198 147 255)hsl(268 100% 79%)oklch(75.3% 0.158 304.7)7.77 AAA
亮青color14#ff74b8rgb(255 116 184)hsl(331 100% 73%)oklch(74.3% 0.183 351.9)7.27 AAA
亮白color15#f2f4f8rgb(242 244 248)hsl(220 30% 96%)oklch(96.7% 0.006 264.5)16.43 AAA

关于 Oxocarbon

Oxocarbon 采用中性色调的深色背景(#161616),默认前景色为 #f2f4f8。正文的 WCAG 对比度为 16.43:1(AAA),12 种 ANSI 彩色槽位平均对比度 7.79:1,最低 5.58:1。

色板整体色彩饱和度较高,其中红色为 #00dfdb、绿色为 #00b4ff、蓝色为 #00c15a、品红为 #c693ff。该配色归属 Oxocarbon 主题系列。

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

与 Oxocarbon 相似的配色

数据来源:iTerm2 Color Schemes (MIT)