跳到正文

Msx

Msx 是一套深色终端配色(柔和、冷色),背景色 #5955e0,文字色 #ffffff,对比度 5.5:1

获取配置
背景色
#5955e0
前景色
#ffffff
文字对比度
5.53:1AA
强调色对比度
2.56:1最低 1.26
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
❯

Msx 的配置文件

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

Msx

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

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

palette = 0=#5955e0
palette = 1=#b95e51
palette = 2=#3aa241
palette = 3=#ccc35e
palette = 4=#000000
palette = 5=#db6559
palette = 6=#3eb849
palette = 7=#cccccc
palette = 8=#8076f1
palette = 9=#ff897d
palette = 10=#74d07d
palette = 11=#ded087
palette = 12=#cccccc
palette = 13=#b766b5
palette = 14=#65dbef
palette = 15=#ffffff
background = #5955e0
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #5955e0
selection-background = #7c83eb
selection-foreground = #ffffff

Msx 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#5955e0rgb(89 85 224)hsl(242 69% 61%)oklch(53.6% 0.205 278.2)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)5.53 AA
光标cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)5.53 AA
光标文字cursorText#5955e0rgb(89 85 224)hsl(242 69% 61%)oklch(53.6% 0.205 278.2)1.00 低于 AA
选区selection#7c83ebrgb(124 131 235)hsl(236 74% 70%)oklch(65.2% 0.153 278.3)1.66 低于 AA
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)5.53 AA
黑color0#5955e0rgb(89 85 224)hsl(242 69% 61%)oklch(53.6% 0.205 278.2)1.00 低于 AA
红color1#b95e51rgb(185 94 81)hsl(8 43% 52%)oklch(58.8% 0.120 29.6)1.26 低于 AA
绿color2#3aa241rgb(58 162 65)hsl(124 47% 43%)oklch(63.1% 0.166 144.3)1.69 低于 AA
黄color3#ccc35ergb(204 195 94)hsl(55 52% 58%)oklch(80.4% 0.123 104.2)3.04 AA 大字号
蓝color4#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)3.80 AA 大字号
品红color5#db6559rgb(219 101 89)hsl(6 64% 60%)oklch(64.8% 0.151 27.8)1.58 低于 AA
青color6#3eb849rgb(62 184 73)hsl(125 50% 48%)oklch(69.1% 0.186 144.6)2.15 低于 AA
白color7#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)3.44 AA 大字号
亮黑color8#8076f1rgb(128 118 241)hsl(245 81% 70%)oklch(63.5% 0.178 283.8)1.52 低于 AA
亮红color9#ff897drgb(255 137 125)hsl(6 100% 75%)oklch(75.7% 0.145 27.1)2.40 低于 AA
亮绿color10#74d07drgb(116 208 125)hsl(126 49% 64%)oklch(78.0% 0.146 146.1)2.91 低于 AA
亮黄color11#ded087rgb(222 208 135)hsl(50 57% 70%)oklch(85.3% 0.094 98.7)3.55 AA 大字号
亮蓝color12#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)3.44 AA 大字号
亮品红color13#b766b5rgb(183 102 181)hsl(301 36% 56%)oklch(63.0% 0.145 328.0)1.47 低于 AA
亮青color14#65dbefrgb(101 219 239)hsl(189 81% 67%)oklch(83.1% 0.109 210.2)3.40 AA 大字号
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)5.53 AA

关于 Msx

Msx 采用冷色调的深色背景(#5955e0),默认前景色为 #ffffff。正文的 WCAG 对比度为 5.53:1(AA),12 种 ANSI 彩色槽位平均对比度 2.56:1,最低 1.26:1。

色板整体色彩饱和度适中,其中红色为 #b95e51、绿色为 #3aa241、蓝色为 #000000、品红为 #db6559。

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

与 Msx 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)