跳到主要內容

Oceanic Next

Oceanic Next 是一套深色終端機配色(冷色),背景色 #162c35,文字色 #c0c5ce,對比度 8.4:1

取得設定檔
背景色
#162c35
前景色
#c0c5ce
文字對比度
8.38:1AAA
強調色對比度
6.32:1最低 4.43
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
❯

Oceanic Next 的設定檔

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

Oceanic Next

存到 ~/.config/ghostty/themes/Oceanic Next,再在 config 或 config.ghostty 裏寫 theme = Oceanic Next

更多 Ghostty 配色
原始檔案
# Theme: Oceanic Next (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/oceanic-next?format=ghostty

palette = 0=#162c35
palette = 1=#ec5f67
palette = 2=#99c794
palette = 3=#fac863
palette = 4=#6699cc
palette = 5=#c594c5
palette = 6=#5fb3b3
palette = 7=#ffffff
palette = 8=#65737e
palette = 9=#ec5f67
palette = 10=#99c794
palette = 11=#fac863
palette = 12=#6699cc
palette = 13=#c594c5
palette = 14=#5fb3b3
palette = 15=#ffffff
background = #162c35
foreground = #c0c5ce
cursor-color = #c0c5ce
cursor-text = #1b2b34
selection-background = #4f5b66
selection-foreground = #c0c5ce

Oceanic Next 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#162c35rgb(22 44 53)hsl(197 41% 15%)oklch(27.9% 0.032 226.4)—
前景色foreground#c0c5cergb(192 197 206)hsl(219 13% 78%)oklch(82.2% 0.014 262.4)8.38 AAA
光標cursor#c0c5cergb(192 197 206)hsl(219 13% 78%)oklch(82.2% 0.014 262.4)8.38 AAA
光標文字cursorText#1b2b34rgb(27 43 52)hsl(202 32% 15%)oklch(27.9% 0.027 233.7)1.00 低於 AA
選取範圍selection#4f5b66rgb(79 91 102)hsl(209 13% 35%)oklch(46.5% 0.023 246.0)2.09 低於 AA
選取文字selectionText#c0c5cergb(192 197 206)hsl(219 13% 78%)oklch(82.2% 0.014 262.4)8.38 AAA
黑color0#162c35rgb(22 44 53)hsl(197 41% 15%)oklch(27.9% 0.032 226.4)1.00 低於 AA
紅color1#ec5f67rgb(236 95 103)hsl(357 79% 65%)oklch(66.8% 0.174 19.8)4.43 AA 大字體
綠color2#99c794rgb(153 199 148)hsl(114 31% 68%)oklch(78.4% 0.086 142.2)7.57 AAA
黃color3#fac863rgb(250 200 99)hsl(40 94% 68%)oklch(85.8% 0.131 82.9)9.34 AAA
藍color4#6699ccrgb(102 153 204)hsl(210 50% 60%)oklch(66.8% 0.094 249.4)4.84 AA
洋紅color5#c594c5rgb(197 148 197)hsl(300 30% 68%)oklch(72.9% 0.088 326.4)5.82 AA
青color6#5fb3b3rgb(95 179 179)hsl(180 36% 54%)oklch(71.4% 0.082 195.5)5.94 AA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.52 AAA
亮黑color8#65737ergb(101 115 126)hsl(206 11% 45%)oklch(54.8% 0.024 241.7)2.98 低於 AA
亮紅color9#ec5f67rgb(236 95 103)hsl(357 79% 65%)oklch(66.8% 0.174 19.8)4.43 AA 大字體
亮綠color10#99c794rgb(153 199 148)hsl(114 31% 68%)oklch(78.4% 0.086 142.2)7.57 AAA
亮黃color11#fac863rgb(250 200 99)hsl(40 94% 68%)oklch(85.8% 0.131 82.9)9.34 AAA
亮藍color12#6699ccrgb(102 153 204)hsl(210 50% 60%)oklch(66.8% 0.094 249.4)4.84 AA
亮洋紅color13#c594c5rgb(197 148 197)hsl(300 30% 68%)oklch(72.9% 0.088 326.4)5.82 AA
亮青color14#5fb3b3rgb(95 179 179)hsl(180 36% 54%)oklch(71.4% 0.082 195.5)5.94 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.52 AAA

關於 Oceanic Next

Oceanic Next 採用冷色調的深色背景(#162c35),預設前景色為 #c0c5ce。正文的 WCAG 對比度為 8.38:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.32:1,最低 4.43:1。

色板整體色彩飽和度適中,其中紅色為 #ec5f67、綠色為 #99c794、藍色為 #6699cc、洋紅為 #c594c5。

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

與 Oceanic Next 相似的配色

資料來源:iTerm2 Color Schemes (MIT)