跳到主要內容

Morass Contrast

Morass Contrast 是一套深色終端機配色,背景色 #1a1f1d,文字色 #e4e3e1,對比度 13.0:1

取得設定檔
背景色
#1a1f1d
前景色
#e4e3e1
文字對比度
13.02:1AAA
強調色對比度
8.46:1最低 2.54
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
❯

Morass Contrast 的設定檔

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

Morass Contrast

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

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

palette = 0=#262d2a
palette = 1=#ba0e2e
palette = 2=#fdec5a
palette = 3=#68875a
palette = 4=#afb54c
palette = 5=#afd0c4
palette = 6=#677c71
palette = 7=#f0f0ee
palette = 8=#3d4944
palette = 9=#e61f44
palette = 10=#fef8bf
palette = 11=#9db691
palette = 12=#cfd394
palette = 13=#eff6f3
palette = 14=#9cada4
palette = 15=#ffffff
background = #1a1f1d
foreground = #e4e3e1
cursor-color = #f8f8f0
cursor-text = #e4e3e1
selection-background = #fdec5a
selection-foreground = #ffffff

Morass Contrast 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1a1f1drgb(26 31 29)hsl(156 9% 11%)oklch(23.3% 0.008 169.6)—
前景色foreground#e4e3e1rgb(228 227 225)hsl(40 5% 89%)oklch(91.6% 0.003 84.6)13.02 AAA
光標cursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)15.65 AAA
光標文字cursorText#e4e3e1rgb(228 227 225)hsl(40 5% 89%)oklch(91.6% 0.003 84.6)13.02 AAA
選取範圍selection#fdec5argb(253 236 90)hsl(54 98% 67%)oklch(93.1% 0.163 102.6)13.77 AAA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.70 AAA
黑color0#262d2argb(38 45 42)hsl(154 8% 16%)oklch(28.9% 0.011 167.9)1.19 低於 AA
紅color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.54 低於 AA
綠color2#fdec5argb(253 236 90)hsl(54 98% 67%)oklch(93.1% 0.163 102.6)13.77 AAA
黃color3#68875argb(104 135 90)hsl(101 20% 44%)oklch(58.7% 0.075 136.2)4.14 AA 大字體
藍color4#afb54crgb(175 181 76)hsl(63 42% 50%)oklch(74.7% 0.129 112.1)7.58 AAA
洋紅color5#afd0c4rgb(175 208 196)hsl(158 26% 75%)oklch(83.0% 0.039 171.3)10.05 AAA
青color6#677c71rgb(103 124 113)hsl(149 9% 45%)oklch(56.6% 0.030 162.5)3.74 AA 大字體
白color7#f0f0eergb(240 240 238)hsl(60 6% 94%)oklch(95.5% 0.003 106.4)14.63 AAA
亮黑color8#3d4944rgb(61 73 68)hsl(155 9% 26%)oklch(39.3% 0.018 168.3)1.78 低於 AA
亮紅color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)3.69 AA 大字體
亮綠color10#fef8bfrgb(254 248 191)hsl(54 97% 87%)oklch(97.0% 0.073 102.6)15.42 AAA
亮黃color11#9db691rgb(157 182 145)hsl(101 20% 64%)oklch(74.7% 0.059 135.5)7.58 AAA
亮藍color12#cfd394rgb(207 211 148)hsl(64 42% 70%)oklch(84.9% 0.082 111.1)10.65 AAA
亮洋紅color13#eff6f3rgb(239 246 243)hsl(154 28% 95%)oklch(96.7% 0.008 168.8)15.22 AAA
亮青color14#9cada4rgb(156 173 164)hsl(148 9% 65%)oklch(73.2% 0.023 162.8)7.10 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.70 AAA

關於 Morass Contrast

Morass Contrast 採用中性色調的深色背景(#1a1f1d),預設前景色為 #e4e3e1。正文的 WCAG 對比度為 13.02:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.46:1,最低 2.54:1。

色板整體色彩飽和度適中,其中紅色為 #ba0e2e、綠色為 #fdec5a、藍色為 #afb54c、洋紅為 #afd0c4。

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

與 Morass Contrast 相似的配色

資料來源:Rainglow (MIT)