跳到主要內容

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