跳到主要內容

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