跳到主要內容

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