跳到主要內容

Lavender Contrast

Lavender Contrast 是一套深色終端機配色(純黑),背景色 #080709,文字色 #e0ceed,對比度 13.6:1

取得設定檔
背景色
#080709
前景色
#e0ceed
文字對比度
13.61:1AAA
強調色對比度
9.61:1最低 3.05
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
❯

Lavender Contrast 的設定檔

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

Lavender Contrast

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

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

palette = 0=#151217
palette = 1=#ba0e2e
palette = 2=#a29dfa
palette = 3=#b657ff
palette = 4=#f5b0ef
palette = 5=#8e6da6
palette = 6=#8e69c9
palette = 7=#ece1f4
palette = 8=#2e2834
palette = 9=#e61f44
palette = 10=#fefeff
palette = 11=#e2bdff
palette = 12=#ffffff
palette = 13=#bfaccd
palette = 14=#c7b4e4
palette = 15=#ffffff
background = #080709
foreground = #e0ceed
cursor-color = #f8f8f0
cursor-text = #e0ceed
selection-background = #b657ff
selection-foreground = #ffffff

Lavender Contrast 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#080709rgb(8 7 9)hsl(270 13% 3%)oklch(13.1% 0.005 308.8)—
前景色foreground#e0ceedrgb(224 206 237)hsl(275 46% 87%)oklch(87.6% 0.046 311.2)13.61 AAA
光標cursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)18.84 AAA
光標文字cursorText#e0ceedrgb(224 206 237)hsl(275 46% 87%)oklch(87.6% 0.046 311.2)13.61 AAA
選取範圍selection#b657ffrgb(182 87 255)hsl(274 100% 67%)oklch(65.0% 0.241 306.8)5.55 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)20.10 AAA
黑color0#151217rgb(21 18 23)hsl(276 12% 8%)oklch(18.8% 0.011 311.9)1.08 低於 AA
紅color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)3.05 AA 大字體
綠color2#a29dfargb(162 157 250)hsl(243 90% 80%)oklch(73.8% 0.133 285.1)8.37 AAA
黃color3#b657ffrgb(182 87 255)hsl(274 100% 67%)oklch(65.0% 0.241 306.8)5.55 AA
藍color4#f5b0efrgb(245 176 239)hsl(305 78% 83%)oklch(84.1% 0.114 329.5)11.81 AAA
洋紅color5#8e6da6rgb(142 109 166)hsl(275 24% 54%)oklch(58.9% 0.092 310.2)4.68 AA
青color6#8e69c9rgb(142 105 201)hsl(263 47% 60%)oklch(60.0% 0.145 299.8)4.80 AA
白color7#ece1f4rgb(236 225 244)hsl(275 46% 92%)oklch(92.4% 0.028 311.3)15.93 AAA
亮黑color8#2e2834rgb(46 40 52)hsl(270 13% 18%)oklch(28.8% 0.023 307.6)1.41 低於 AA
亮紅color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)4.45 AA 大字體
亮綠color10#fefeffrgb(254 254 255)hsl(240 100% 100%)oklch(99.7% 0.001 286.4)19.94 AAA
亮黃color11#e2bdffrgb(226 189 255)hsl(274 100% 87%)oklch(85.2% 0.098 309.8)12.40 AAA
亮藍color12#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)20.10 AAA
亮洋紅color13#bfaccdrgb(191 172 205)hsl(275 25% 74%)oklch(77.1% 0.051 310.9)9.57 AAA
亮青color14#c7b4e4rgb(199 180 228)hsl(264 47% 80%)oklch(80.2% 0.070 302.9)10.60 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)20.10 AAA

關於 Lavender Contrast

Lavender Contrast 採用中性色調的深色背景(#080709),預設前景色為 #e0ceed。正文的 WCAG 對比度為 13.61:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.61:1,最低 3.05:1。

色板整體色彩飽和度適中,其中紅色為 #ba0e2e、綠色為 #a29dfa、藍色為 #f5b0ef、洋紅為 #8e6da6。

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

與 Lavender Contrast 相似的配色

資料來源:Rainglow (MIT)