本文へスキップ

Matrix

Matrix はダーク系のターミナル配色(ソフト・寒色)。背景色 #0f191c、文字色 #426644、コントラスト比 2.7:1

設定を取得
背景色
#0f191c
前景色
#426644
文字のコントラスト
2.73:1AA 未満
アクセントのコントラスト
8.89:1最小 2.12
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
❯

Matrix の設定ファイル

16 種類の形式を、ひとつのパレットから生成

Matrix

~/.config/ghostty/themes/Matrix に保存し、config または config.ghostty に theme = Matrix を書く

Ghostty の配色をもっと見る
元ファイル
# Theme: Matrix (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/ja/schemes/matrix?format=ghostty

palette = 0=#0f191c
palette = 1=#23755a
palette = 2=#82d967
palette = 3=#ffd700
palette = 4=#3f5242
palette = 5=#409931
palette = 6=#50b45a
palette = 7=#507350
palette = 8=#688060
palette = 9=#2fc079
palette = 10=#90d762
palette = 11=#faff00
palette = 12=#4f7e7e
palette = 13=#11ff25
palette = 14=#c1ff8a
palette = 15=#678c61
background = #0f191c
foreground = #426644
cursor-color = #384545
cursor-text = #00ff00
selection-background = #18282e
selection-foreground = #00ff87

Matrix のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#0f191crgb(15 25 28)hsl(194 30% 8%)oklch(20.5% 0.016 218.3)—
前景色foreground#426644rgb(66 102 68)hsl(123 21% 33%)oklch(47.3% 0.068 145.7)2.73 AA 未満
カーソルcursor#384545rgb(56 69 69)hsl(180 10% 25%)oklch(37.9% 0.017 196.5)1.79 AA 未満
カーソルの文字cursorText#00ff00rgb(0 255 0)hsl(120 100% 50%)oklch(86.6% 0.295 142.5)13.01 AAA
選択範囲selection#18282ergb(24 40 46)hsl(196 31% 14%)oklch(26.5% 0.024 223.5)1.17 AA 未満
選択範囲の文字selectionText#00ff87rgb(0 255 135)hsl(152 100% 50%)oklch(87.6% 0.229 152.4)13.31 AAA
黒color0#0f191crgb(15 25 28)hsl(194 30% 8%)oklch(20.5% 0.016 218.3)1.00 AA 未満
赤color1#23755argb(35 117 90)hsl(160 54% 30%)oklch(50.6% 0.090 167.0)3.20 AA(大きな文字)
緑color2#82d967rgb(130 217 103)hsl(106 60% 63%)oklch(80.5% 0.172 138.8)10.26 AAA
黄color3#ffd700rgb(255 215 0)hsl(51 100% 50%)oklch(88.7% 0.182 95.3)12.73 AAA
青color4#3f5242rgb(63 82 66)hsl(129 13% 28%)oklch(41.7% 0.035 149.3)2.12 AA 未満
マゼンタcolor5#409931rgb(64 153 49)hsl(111 51% 40%)oklch(60.7% 0.164 140.9)4.95 AA
シアンcolor6#50b45argb(80 180 90)hsl(126 40% 51%)oklch(68.9% 0.158 145.5)6.82 AA
白color7#507350rgb(80 115 80)hsl(120 18% 38%)oklch(51.9% 0.067 144.5)3.32 AA(大きな文字)
明るい黒color8#688060rgb(104 128 96)hsl(105 14% 44%)oklch(57.2% 0.055 138.0)4.12 AA(大きな文字)
明るい赤color9#2fc079rgb(47 192 121)hsl(151 61% 47%)oklch(71.6% 0.158 156.4)7.60 AAA
明るい緑color10#90d762rgb(144 215 98)hsl(96 59% 61%)oklch(80.7% 0.167 134.6)10.27 AAA
明るい黄color11#faff00rgb(250 255 0)hsl(61 100% 50%)oklch(96.4% 0.212 111.2)16.47 AAA
明るい青color12#4f7e7ergb(79 126 126)hsl(180 23% 40%)oklch(56.0% 0.051 195.8)3.93 AA(大きな文字)
明るいマゼンタcolor13#11ff25rgb(17 255 37)hsl(125 100% 53%)oklch(86.8% 0.288 143.0)13.06 AAA
明るいシアンcolor14#c1ff8argb(193 255 138)hsl(92 100% 77%)oklch(93.3% 0.160 131.7)15.25 AAA
明るい白color15#678c61rgb(103 140 97)hsl(112 18% 46%)oklch(60.1% 0.076 141.1)4.68 AA

Matrix について

Matrix は寒色寄りのダーク背景(#0f191c)を採用し、標準の前景色に #426644 を使ったターミナル配色です。本文の WCAG コントラスト比は 2.73:1(AA 未満)、12 色の ANSI カラーは平均 8.89:1、最小 2.12:1 です。

パレット全体は適度な彩度で、赤 #23755a、緑 #82d967、青 #3f5242、マゼンタ #409931 を基調としています。

Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 向けの設定ファイルを書き出せるほか、VS Code・Zed の統合ターミナル、CSS 変数、Tailwind CSS、JSON 形式にも対応しています。

Matrix に似た配色

データ出典:iTerm2 Color Schemes (MIT)