跳到正文

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