跳到主要內容

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