本文へスキップ

Mezcal

Mezcal はダーク系のターミナル配色。背景色 #13110e、文字色 #e0d8c8、コントラスト比 13.3:1

設定を取得
背景色
#13110e
前景色
#e0d8c8
文字のコントラスト
13.31:1AAA
アクセントのコントラスト
7.72:1最小 5.69
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
❯

Mezcal の設定ファイル

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

Mezcal

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

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

palette = 0=#13110e
palette = 1=#da6e54
palette = 2=#a8b84a
palette = 3=#d9a441
palette = 4=#8aa6c0
palette = 5=#c28aa8
palette = 6=#6fc8ae
palette = 7=#e0d8c8
palette = 8=#6e6450
palette = 9=#da6e54
palette = 10=#a8b84a
palette = 11=#d9a441
palette = 12=#8aa6c0
palette = 13=#c28aa8
palette = 14=#6fc8ae
palette = 15=#f2ead6
background = #13110e
foreground = #e0d8c8
cursor-color = #e0d8c8
cursor-text = #13110e
selection-background = #3f3b36
selection-foreground = #e0d8c8

Mezcal のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#13110ergb(19 17 14)hsl(36 15% 6%)oklch(17.9% 0.007 78.1)—
前景色foreground#e0d8c8rgb(224 216 200)hsl(40 28% 83%)oklch(88.4% 0.023 84.6)13.31 AAA
カーソルcursor#e0d8c8rgb(224 216 200)hsl(40 28% 83%)oklch(88.4% 0.023 84.6)13.31 AAA
カーソルの文字cursorText#13110ergb(19 17 14)hsl(36 15% 6%)oklch(17.9% 0.007 78.1)1.00 AA 未満
選択範囲selection#3f3b36rgb(63 59 54)hsl(33 8% 23%)oklch(35.5% 0.010 73.6)1.70 AA 未満
選択範囲の文字selectionText#e0d8c8rgb(224 216 200)hsl(40 28% 83%)oklch(88.4% 0.023 84.6)13.31 AAA
黒color0#13110ergb(19 17 14)hsl(36 15% 6%)oklch(17.9% 0.007 78.1)1.00 AA 未満
赤color1#da6e54rgb(218 110 84)hsl(12 64% 59%)oklch(65.9% 0.141 34.7)5.69 AA
緑color2#a8b84argb(168 184 74)hsl(69 44% 51%)oklch(74.8% 0.136 116.8)8.63 AAA
黄color3#d9a441rgb(217 164 65)hsl(39 67% 55%)oklch(75.1% 0.130 79.8)8.38 AAA
青color4#8aa6c0rgb(138 166 192)hsl(209 30% 65%)oklch(71.3% 0.049 246.6)7.45 AAA
マゼンタcolor5#c28aa8rgb(194 138 168)hsl(328 31% 65%)oklch(69.7% 0.079 346.0)6.73 AA
シアンcolor6#6fc8aergb(111 200 174)hsl(162 45% 61%)oklch(77.0% 0.095 172.7)9.47 AAA
白color7#e0d8c8rgb(224 216 200)hsl(40 28% 83%)oklch(88.4% 0.023 84.6)13.31 AAA
明るい黒color8#6e6450rgb(110 100 80)hsl(40 16% 37%)oklch(50.7% 0.033 84.5)3.23 AA(大きな文字)
明るい赤color9#da6e54rgb(218 110 84)hsl(12 64% 59%)oklch(65.9% 0.141 34.7)5.69 AA
明るい緑color10#a8b84argb(168 184 74)hsl(69 44% 51%)oklch(74.8% 0.136 116.8)8.63 AAA
明るい黄color11#d9a441rgb(217 164 65)hsl(39 67% 55%)oklch(75.1% 0.130 79.8)8.38 AAA
明るい青color12#8aa6c0rgb(138 166 192)hsl(209 30% 65%)oklch(71.3% 0.049 246.6)7.45 AAA
明るいマゼンタcolor13#c28aa8rgb(194 138 168)hsl(328 31% 65%)oklch(69.7% 0.079 346.0)6.73 AA
明るいシアンcolor14#6fc8aergb(111 200 174)hsl(162 45% 61%)oklch(77.0% 0.095 172.7)9.47 AAA
明るい白color15#f2ead6rgb(242 234 214)hsl(43 52% 89%)oklch(93.8% 0.028 88.8)15.72 AAA

Mezcal について

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

パレット全体は適度な彩度で、赤 #da6e54、緑 #a8b84a、青 #8aa6c0、マゼンタ #c28aa8 を基調としています。

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

Mezcal に似た配色

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