跳到正文

Opaline

Opaline 是一套深色终端配色(高对比度、粉彩),背景色 #131121,文字色 #ece9f7,对比度 15.6:1

获取配置
背景色
#131121
前景色
#ece9f7
文字对比度
15.55:1AAA
强调色对比度
10.36:1最低 6.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
❯

Opaline 的配置文件

16 种格式,都从同一份色板生成

Opaline

存到 ~/.config/ghostty/themes/Opaline,再在 config 或 config.ghostty 里写 theme = Opaline

更多 Ghostty 配色
原始文件
# Theme: Opaline (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/opaline?format=ghostty

palette = 0=#201b33
palette = 1=#ff6b92
palette = 2=#86e6b4
palette = 3=#ffc2ae
palette = 4=#8fb4ff
palette = 5=#be9bff
palette = 6=#5fe3d8
palette = 7=#ece9f7
palette = 8=#6b678f
palette = 9=#ff81a2
palette = 10=#95e9bd
palette = 11=#f4d27e
palette = 12=#b79bff
palette = 13=#ff9ed2
palette = 14=#72e6dd
palette = 15=#ffffff
background = #131121
foreground = #ece9f7
cursor-color = #ffb3d6
cursor-text = #131121
selection-background = #2c2748
selection-foreground = #535161

Opaline 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#131121rgb(19 17 33)hsl(248 32% 10%)oklch(18.9% 0.032 288.7)—
前景色foreground#ece9f7rgb(236 233 247)hsl(253 47% 94%)oklch(94.0% 0.019 295.9)15.55 AAA
光标cursor#ffb3d6rgb(255 179 214)hsl(332 100% 85%)oklch(84.8% 0.098 350.2)11.22 AAA
光标文字cursorText#131121rgb(19 17 33)hsl(248 32% 10%)oklch(18.9% 0.032 288.7)1.00 低于 AA
选区selection#2c2748rgb(44 39 72)hsl(249 30% 22%)oklch(29.5% 0.059 289.2)1.32 低于 AA
选区文字selectionText#535161rgb(83 81 97)hsl(248 9% 35%)oklch(44.3% 0.026 291.0)2.41 低于 AA
黑color0#201b33rgb(32 27 51)hsl(252 31% 15%)oklch(24.1% 0.045 292.2)1.12 低于 AA
红color1#ff6b92rgb(255 107 146)hsl(344 100% 71%)oklch(72.0% 0.183 6.5)6.88 AA
绿color2#86e6b4rgb(134 230 180)hsl(149 66% 71%)oklch(85.2% 0.116 159.8)12.38 AAA
黄color3#ffc2aergb(255 194 174)hsl(15 100% 84%)oklch(86.4% 0.076 38.9)12.02 AAA
蓝color4#8fb4ffrgb(143 180 255)hsl(220 100% 78%)oklch(77.2% 0.115 263.8)8.98 AAA
品红color5#be9bffrgb(190 155 255)hsl(261 100% 80%)oklch(76.0% 0.144 299.1)8.25 AAA
青color6#5fe3d8rgb(95 227 216)hsl(175 70% 63%)oklch(84.0% 0.117 187.6)11.92 AAA
白color7#ece9f7rgb(236 233 247)hsl(253 47% 94%)oklch(94.0% 0.019 295.9)15.55 AAA
亮黑color8#6b678frgb(107 103 143)hsl(246 16% 48%)oklch(53.3% 0.062 288.7)3.51 AA 大字号
亮红color9#ff81a2rgb(255 129 162)hsl(344 100% 75%)oklch(75.4% 0.156 4.9)7.89 AAA
亮绿color10#95e9bdrgb(149 233 189)hsl(149 66% 75%)oklch(86.8% 0.103 160.4)12.98 AAA
亮黄color11#f4d27ergb(244 210 126)hsl(43 84% 73%)oklch(87.5% 0.110 88.1)12.72 AAA
亮蓝color12#b79bffrgb(183 155 255)hsl(257 100% 80%)oklch(75.4% 0.143 295.7)8.10 AAA
亮品红color13#ff9ed2rgb(255 158 210)hsl(328 100% 81%)oklch(81.3% 0.131 347.0)9.80 AAA
亮青color14#72e6ddrgb(114 230 221)hsl(175 70% 67%)oklch(85.5% 0.107 188.6)12.46 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.59 AAA

关于 Opaline

Opaline 采用冷色调的深色背景(#131121),默认前景色为 #ece9f7。正文的 WCAG 对比度为 15.55:1(AAA),12 种 ANSI 彩色槽位平均对比度 10.36:1,最低 6.88:1。

色板整体色彩饱和度适中,其中红色为 #ff6b92、绿色为 #86e6b4、蓝色为 #8fb4ff、品红为 #be9bff。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Opaline 相似的配色

数据来源:iTerm2 Color Schemes (MIT)