本文へスキップ

Monokai

Monokai はダーク系のターミナル配色(ビビッド)。背景色 #272822、文字色 #fdfff1、コントラスト比 14.7:1

設定を取得
背景色
#272822
前景色
#fdfff1
文字のコントラスト
14.69:1AAA
アクセントのコントラスト
7.50:1最小 3.93
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
❯

Monokai の設定ファイル

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

Monokai

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

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

palette = 0=#272822
palette = 1=#f92672
palette = 2=#a6e22e
palette = 3=#e6db74
palette = 4=#fd971f
palette = 5=#ae81ff
palette = 6=#66d9ef
palette = 7=#fdfff1
palette = 8=#6e7066
palette = 9=#f92672
palette = 10=#a6e22e
palette = 11=#e6db74
palette = 12=#fd971f
palette = 13=#ae81ff
palette = 14=#66d9ef
palette = 15=#fdfff1
background = #272822
foreground = #fdfff1
cursor-color = #c0c1b5
cursor-text = #272822
selection-background = #56574f
selection-foreground = #fdfff1

Monokai のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#272822rgb(39 40 34)hsl(70 8% 15%)oklch(27.4% 0.011 114.8)—
前景色foreground#fdfff1rgb(253 255 241)hsl(69 100% 97%)oklch(99.5% 0.018 113.3)14.69 AAA
カーソルcursor#c0c1b5rgb(192 193 181)hsl(65 9% 73%)oklch(80.7% 0.017 110.6)8.17 AAA
カーソルの文字cursorText#272822rgb(39 40 34)hsl(70 8% 15%)oklch(27.4% 0.011 114.8)1.00 AA 未満
選択範囲selection#56574frgb(86 87 79)hsl(67 5% 33%)oklch(45.3% 0.013 112.7)2.03 AA 未満
選択範囲の文字selectionText#fdfff1rgb(253 255 241)hsl(69 100% 97%)oklch(99.5% 0.018 113.3)14.69 AAA
黒color0#272822rgb(39 40 34)hsl(70 8% 15%)oklch(27.4% 0.011 114.8)1.00 AA 未満
赤color1#f92672rgb(249 38 114)hsl(338 95% 56%)oklch(64.2% 0.240 7.5)3.93 AA(大きな文字)
緑color2#a6e22ergb(166 226 46)hsl(80 76% 53%)oklch(84.1% 0.204 127.3)9.58 AAA
黄color3#e6db74rgb(230 219 116)hsl(54 70% 68%)oklch(87.9% 0.125 103.2)10.44 AAA
青color4#fd971frgb(253 151 31)hsl(32 98% 56%)oklch(76.7% 0.168 62.4)6.81 AA
マゼンタcolor5#ae81ffrgb(174 129 255)hsl(261 100% 75%)oklch(70.1% 0.181 298.1)5.23 AA
シアンcolor6#66d9efrgb(102 217 239)hsl(190 81% 67%)oklch(82.7% 0.108 212.0)9.01 AAA
白color7#fdfff1rgb(253 255 241)hsl(69 100% 97%)oklch(99.5% 0.018 113.3)14.69 AAA
明るい黒color8#6e7066rgb(110 112 102)hsl(72 5% 42%)oklch(54.0% 0.015 116.1)2.95 AA 未満
明るい赤color9#f92672rgb(249 38 114)hsl(338 95% 56%)oklch(64.2% 0.240 7.5)3.93 AA(大きな文字)
明るい緑color10#a6e22ergb(166 226 46)hsl(80 76% 53%)oklch(84.1% 0.204 127.3)9.58 AAA
明るい黄color11#e6db74rgb(230 219 116)hsl(54 70% 68%)oklch(87.9% 0.125 103.2)10.44 AAA
明るい青color12#fd971frgb(253 151 31)hsl(32 98% 56%)oklch(76.7% 0.168 62.4)6.81 AA
明るいマゼンタcolor13#ae81ffrgb(174 129 255)hsl(261 100% 75%)oklch(70.1% 0.181 298.1)5.23 AA
明るいシアンcolor14#66d9efrgb(102 217 239)hsl(190 81% 67%)oklch(82.7% 0.108 212.0)9.01 AAA
明るい白color15#fdfff1rgb(253 255 241)hsl(69 100% 97%)oklch(99.5% 0.018 113.3)14.69 AAA

Monokai について

Monokai はニュートラルのダーク背景(#272822)を採用し、標準の前景色に #fdfff1 を使ったターミナル配色です。本文の WCAG コントラスト比は 14.69:1(AAA)、12 色の ANSI カラーは平均 7.50:1、最小 3.93:1 です。

パレット全体は彩度が高めで、赤 #f92672、緑 #a6e22e、青 #fd971f、マゼンタ #ae81ff を基調としています。Monokai テーマファミリーに属する配色です。

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

Monokai に似た配色

データ出典:Gogh (MIT OR Apache-2.0)