跳到主要內容

OceanicMaterial

OceanicMaterial 是一套深色終端機配色(冷色),背景色 #1c262b,文字色 #c1c8d6,對比度 9.2:1

取得設定檔
背景色
#1c262b
前景色
#c1c8d6
文字對比度
9.18:1AAA
強調色對比度
6.12:1最低 1.88
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
❯

OceanicMaterial 的設定檔

16 種格式,都從同一份色票產生

OceanicMaterial

存到 ~/.config/ghostty/themes/OceanicMaterial,再在 config 或 config.ghostty 裡寫 theme = OceanicMaterial

更多 Ghostty 配色
原始檔
# Theme: OceanicMaterial (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/oceanicmaterial?format=ghostty

palette = 0=#000000
palette = 1=#ee2a29
palette = 2=#3fa33f
palette = 3=#fee92e
palette = 4=#1d80ef
palette = 5=#8800a0
palette = 6=#16aec9
palette = 7=#a4a4a4
palette = 8=#767676
palette = 9=#dc5b60
palette = 10=#70be71
palette = 11=#fef063
palette = 12=#53a4f3
palette = 13=#a94dbb
palette = 14=#42c6d9
palette = 15=#fffefe
background = #1c262b
foreground = #c1c8d6
cursor-color = #b2b8c3
cursor-text = #1c262b
selection-background = #6dc1b8
selection-foreground = #1c262b

OceanicMaterial 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1c262brgb(28 38 43)hsl(200 21% 14%)oklch(26.1% 0.017 229.8)—
前景色foreground#c1c8d6rgb(193 200 214)hsl(220 20% 80%)oklch(83.2% 0.021 264.5)9.18 AAA
游標cursor#b2b8c3rgb(178 184 195)hsl(219 12% 73%)oklch(78.1% 0.017 262.7)7.74 AAA
游標文字cursorText#1c262brgb(28 38 43)hsl(200 21% 14%)oklch(26.1% 0.017 229.8)1.00 低於 AA
選取範圍selection#6dc1b8rgb(109 193 184)hsl(174 40% 59%)oklch(75.5% 0.083 186.7)7.32 AAA
選取文字selectionText#1c262brgb(28 38 43)hsl(200 21% 14%)oklch(26.1% 0.017 229.8)1.00 低於 AA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.36 低於 AA
紅color1#ee2a29rgb(238 42 41)hsl(0 85% 55%)oklch(61.2% 0.228 27.5)3.67 AA 大字級
綠color2#3fa33frgb(63 163 63)hsl(120 44% 44%)oklch(63.5% 0.167 143.3)4.79 AA
黃color3#fee92ergb(254 233 46)hsl(54 99% 59%)oklch(92.3% 0.184 102.4)12.42 AAA
藍color4#1d80efrgb(29 128 239)hsl(212 87% 53%)oklch(60.7% 0.188 255.4)3.96 AA 大字級
洋紅color5#8800a0rgb(136 0 160)hsl(291 100% 31%)oklch(45.7% 0.219 319.9)1.88 低於 AA
青color6#16aec9rgb(22 174 201)hsl(189 80% 44%)oklch(69.2% 0.119 214.4)5.83 AA
白color7#a4a4a4rgb(164 164 164)hsl(0 0% 64%)oklch(71.9% 0.000 0)6.19 AA
亮黑color8#767676rgb(118 118 118)hsl(0 0% 46%)oklch(56.6% 0.000 0)3.40 AA 大字級
亮紅color9#dc5b60rgb(220 91 96)hsl(358 65% 61%)oklch(63.7% 0.162 20.6)4.19 AA 大字級
亮綠color10#70be71rgb(112 190 113)hsl(121 38% 59%)oklch(73.2% 0.134 144.3)6.83 AA
亮黃color11#fef063rgb(254 240 99)hsl(55 99% 69%)oklch(94.1% 0.159 103.7)13.12 AAA
亮藍color12#53a4f3rgb(83 164 243)hsl(210 87% 64%)oklch(70.3% 0.141 250.0)5.86 AA
亮洋紅color13#a94dbbrgb(169 77 187)hsl(290 45% 52%)oklch(58.0% 0.183 320.8)3.28 AA 大字級
亮青color14#42c6d9rgb(66 198 217)hsl(188 67% 55%)oklch(76.4% 0.114 208.9)7.57 AAA
亮白color15#fffefergb(255 254 254)hsl(0 100% 100%)oklch(99.8% 0.001 17.2)15.32 AAA

關於 OceanicMaterial

OceanicMaterial 採用冷色調的深色背景(#1c262b),預設前景色為 #c1c8d6。內文的 WCAG 對比度為 9.18:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.12:1,最低 1.88:1。

色票整體色彩彩度適中,其中紅色為 #ee2a29、綠色為 #3fa33f、藍色為 #1d80ef、洋紅為 #8800a0。此配色歸屬 Material 主題系列。

支援一鍵匯出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 終端機設定檔,同時提供 VS Code 與 Zed 整合式終端機、CSS 變數、Tailwind CSS 及 JSON 色票格式。

與 OceanicMaterial 相似的配色

資料來源:Kitty Themes (MIT)