跳到主要內容

Morass

Morass 是一套深色終端機配色,背景色 #313a36,文字色 #e4e3e1,對比度 9.2:1

取得設定檔
背景色
#313a36
前景色
#e4e3e1
文字對比度
9.15:1AAA
強調色對比度
5.95:1最低 1.78
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 的設定檔

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

Morass

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

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

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

Morass 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#313a36rgb(49 58 54)hsl(153 8% 21%)oklch(33.9% 0.014 166.9)—
前景色foreground#e4e3e1rgb(228 227 225)hsl(40 5% 89%)oklch(91.6% 0.003 84.6)9.15 AAA
游標cursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)11.00 AAA
游標文字cursorText#e4e3e1rgb(228 227 225)hsl(40 5% 89%)oklch(91.6% 0.003 84.6)9.15 AAA
選取範圍selection#fdec5argb(253 236 90)hsl(54 98% 67%)oklch(93.1% 0.163 102.6)9.68 AAA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)11.74 AAA
黑color0#3d4843rgb(61 72 67)hsl(153 8% 26%)oklch(39.0% 0.017 166.3)1.23 低於 AA
紅color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)1.78 低於 AA
綠color2#fdec5argb(253 236 90)hsl(54 98% 67%)oklch(93.1% 0.163 102.6)9.68 AAA
黃color3#68875argb(104 135 90)hsl(101 20% 44%)oklch(58.7% 0.075 136.2)2.91 低於 AA
藍color4#afb54crgb(175 181 76)hsl(63 42% 50%)oklch(74.7% 0.129 112.1)5.33 AA
洋紅color5#afd0c4rgb(175 208 196)hsl(158 26% 75%)oklch(83.0% 0.039 171.3)7.07 AAA
青color6#677c71rgb(103 124 113)hsl(149 9% 45%)oklch(56.6% 0.030 162.5)2.63 低於 AA
白color7#f0f0eergb(240 240 238)hsl(60 6% 94%)oklch(95.5% 0.003 106.4)10.29 AAA
亮黑color8#54635drgb(84 99 93)hsl(156 8% 36%)oklch(48.5% 0.021 169.3)1.86 低於 AA
亮紅color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)2.60 低於 AA
亮綠color10#fef8bfrgb(254 248 191)hsl(54 97% 87%)oklch(97.0% 0.073 102.6)10.84 AAA
亮黃color11#9db691rgb(157 182 145)hsl(101 20% 64%)oklch(74.7% 0.059 135.5)5.33 AA
亮藍color12#cfd394rgb(207 211 148)hsl(64 42% 70%)oklch(84.9% 0.082 111.1)7.49 AAA
亮洋紅color13#eff6f3rgb(239 246 243)hsl(154 28% 95%)oklch(96.7% 0.008 168.8)10.70 AAA
亮青color14#9cada4rgb(156 173 164)hsl(148 9% 65%)oklch(73.2% 0.023 162.8)4.99 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)11.74 AAA

關於 Morass

Morass 採用中性色調的深色背景(#313a36),預設前景色為 #e4e3e1。內文的 WCAG 對比度為 9.15:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.95:1,最低 1.78: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 相似的配色

資料來源:Rainglow (MIT)