跳到正文

Miasma

Miasma 是一套深色终端配色,背景色 #222222,文字色 #c2c2b0,对比度 8.8:1

获取配置
背景色
#222222
前景色
#c2c2b0
文字对比度
8.82:1AAA
强调色对比度
4.20:1最低 2.30
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
❯

Miasma 的配置文件

16 种格式,都从同一份色板生成

Miasma

存到 ~/.config/ghostty/themes/Miasma,再在 config 或 config.ghostty 里写 theme = Miasma

更多 Ghostty 配色
原始文件
# Theme: Miasma (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/miasma?format=ghostty

palette = 0=#000000
palette = 1=#685742
palette = 2=#5f875f
palette = 3=#b36d43
palette = 4=#78824b
palette = 5=#bb7744
palette = 6=#c9a554
palette = 7=#d7c483
palette = 8=#666666
palette = 9=#685742
palette = 10=#5f875f
palette = 11=#b36d43
palette = 12=#78824b
palette = 13=#bb7744
palette = 14=#c9a554
palette = 15=#d7c483
background = #222222
foreground = #c2c2b0
cursor-color = #c7c7c7
cursor-text = #eeeeee
selection-background = #e5c47b
selection-foreground = #000000

Miasma 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)—
前景色foreground#c2c2b0rgb(194 194 176)hsl(60 13% 73%)oklch(80.9% 0.025 106.9)8.82 AAA
光标cursor#c7c7c7rgb(199 199 199)hsl(0 0% 78%)oklch(83.0% 0.000 0)9.41 AAA
光标文字cursorText#eeeeeergb(238 238 238)hsl(0 0% 93%)oklch(94.9% 0.000 0)13.71 AAA
选区selection#e5c47brgb(229 196 123)hsl(41 67% 69%)oklch(83.3% 0.099 86.0)9.48 AAA
选区文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.32 低于 AA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.32 低于 AA
红color1#685742rgb(104 87 66)hsl(33 22% 33%)oklch(46.8% 0.039 72.5)2.30 低于 AA
绿color2#5f875frgb(95 135 95)hsl(120 17% 45%)oklch(58.3% 0.075 144.5)3.88 AA 大字号
黄color3#b36d43rgb(179 109 67)hsl(23 46% 48%)oklch(60.3% 0.106 50.6)3.93 AA 大字号
蓝color4#78824brgb(120 130 75)hsl(71 27% 40%)oklch(58.5% 0.078 117.3)3.86 AA 大字号
品红color5#bb7744rgb(187 119 68)hsl(26 47% 50%)oklch(63.1% 0.108 56.1)4.42 AA 大字号
青color6#c9a554rgb(201 165 84)hsl(42 52% 56%)oklch(73.8% 0.108 85.6)6.81 AA
白color7#d7c483rgb(215 196 131)hsl(46 51% 68%)oklch(82.1% 0.086 93.7)9.18 AAA
亮黑color8#666666rgb(102 102 102)hsl(0 0% 40%)oklch(51.0% 0.000 0)2.77 低于 AA
亮红color9#685742rgb(104 87 66)hsl(33 22% 33%)oklch(46.8% 0.039 72.5)2.30 低于 AA
亮绿color10#5f875frgb(95 135 95)hsl(120 17% 45%)oklch(58.3% 0.075 144.5)3.88 AA 大字号
亮黄color11#b36d43rgb(179 109 67)hsl(23 46% 48%)oklch(60.3% 0.106 50.6)3.93 AA 大字号
亮蓝color12#78824brgb(120 130 75)hsl(71 27% 40%)oklch(58.5% 0.078 117.3)3.86 AA 大字号
亮品红color13#bb7744rgb(187 119 68)hsl(26 47% 50%)oklch(63.1% 0.108 56.1)4.42 AA 大字号
亮青color14#c9a554rgb(201 165 84)hsl(42 52% 56%)oklch(73.8% 0.108 85.6)6.81 AA
亮白color15#d7c483rgb(215 196 131)hsl(46 51% 68%)oklch(82.1% 0.086 93.7)9.18 AAA

关于 Miasma

Miasma 采用中性色调的深色背景(#222222),默认前景色为 #c2c2b0。正文的 WCAG 对比度为 8.82:1(AAA),12 种 ANSI 彩色槽位平均对比度 4.20:1,最低 2.30:1。

色板整体色彩饱和度适中,其中红色为 #685742、绿色为 #5f875f、蓝色为 #78824b、品红为 #bb7744。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Miasma 相似的配色

数据来源:iTerm2 Color Schemes (CC0-1.0)