跳到正文

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