跳到正文

Oxocarbon Dark

Oxocarbon Dark 是一套深色终端配色,背景色 #161616,文字色 #ffffff,对比度 18.1:1

获取配置
背景色
#161616
前景色
#ffffff
文字对比度
18.10:1AAA
强调色对比度
8.96:1最低 5.44
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 Dark 的配置文件

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

Oxocarbon Dark

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

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

palette = 0=#262626
palette = 1=#ee5396
palette = 2=#42be65
palette = 3=#ffe97b
palette = 4=#33b1ff
palette = 5=#ff7eb6
palette = 6=#3ddbd9
palette = 7=#dde1e6
palette = 8=#393939
palette = 9=#ee5396
palette = 10=#42be65
palette = 11=#ffe97b
palette = 12=#33b1ff
palette = 13=#ff7eb6
palette = 14=#3ddbd9
palette = 15=#ffffff
background = #161616
foreground = #ffffff
cursor-color = #6f6f6f
cursor-text = #161616
selection-background = #484848
selection-foreground = #ffffff

Oxocarbon Dark 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#161616rgb(22 22 22)hsl(0 0% 9%)oklch(20.0% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.10 AAA
光标cursor#6f6f6frgb(111 111 111)hsl(0 0% 44%)oklch(54.2% 0.000 0)3.60 AA 大字号
光标文字cursorText#161616rgb(22 22 22)hsl(0 0% 9%)oklch(20.0% 0.000 0)1.00 低于 AA
选区selection#484848rgb(72 72 72)hsl(0 0% 28%)oklch(40.2% 0.000 0)1.98 低于 AA
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.10 AAA
黑color0#262626rgb(38 38 38)hsl(0 0% 15%)oklch(26.9% 0.000 0)1.20 低于 AA
红color1#ee5396rgb(238 83 150)hsl(334 82% 63%)oklch(66.9% 0.199 357.3)5.44 AA
绿color2#42be65rgb(66 190 101)hsl(137 49% 50%)oklch(71.2% 0.168 149.3)7.57 AAA
黄color3#ffe97brgb(255 233 123)hsl(50 100% 74%)oklch(93.0% 0.133 98.2)14.82 AAA
蓝color4#33b1ffrgb(51 177 255)hsl(203 100% 60%)oklch(72.9% 0.155 241.7)7.65 AAA
品红color5#ff7eb6rgb(255 126 182)hsl(334 100% 75%)oklch(75.6% 0.167 354.5)7.68 AAA
青color6#3ddbd9rgb(61 219 217)hsl(179 69% 55%)oklch(81.3% 0.126 193.7)10.63 AAA
白color7#dde1e6rgb(221 225 230)hsl(213 15% 88%)oklch(90.8% 0.008 253.9)13.78 AAA
亮黑color8#393939rgb(57 57 57)hsl(0 0% 22%)oklch(34.5% 0.000 0)1.57 低于 AA
亮红color9#ee5396rgb(238 83 150)hsl(334 82% 63%)oklch(66.9% 0.199 357.3)5.44 AA
亮绿color10#42be65rgb(66 190 101)hsl(137 49% 50%)oklch(71.2% 0.168 149.3)7.57 AAA
亮黄color11#ffe97brgb(255 233 123)hsl(50 100% 74%)oklch(93.0% 0.133 98.2)14.82 AAA
亮蓝color12#33b1ffrgb(51 177 255)hsl(203 100% 60%)oklch(72.9% 0.155 241.7)7.65 AAA
亮品红color13#ff7eb6rgb(255 126 182)hsl(334 100% 75%)oklch(75.6% 0.167 354.5)7.68 AAA
亮青color14#3ddbd9rgb(61 219 217)hsl(179 69% 55%)oklch(81.3% 0.126 193.7)10.63 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.10 AAA

关于 Oxocarbon Dark

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

色板整体色彩饱和度适中,其中红色为 #ee5396、绿色为 #42be65、蓝色为 #33b1ff、品红为 #ff7eb6。该配色归属 Oxocarbon 主题系列。

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

与 Oxocarbon Dark 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)