本文へスキップ

Mellow Contrast

Mellow Contrast はダーク系のターミナル配色(トゥルーブラック・ハイコントラスト)。背景色 #0b0a09、文字色 #f8f8f2、コントラスト比 18.6:1

設定を取得
背景色
#0b0a09
前景色
#f8f8f2
文字のコントラスト
18.56:1AAA
アクセントのコントラスト
10.03:1最小 3.01
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
❯

Mellow Contrast の設定ファイル

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

Mellow Contrast

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

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

palette = 0=#191714
palette = 1=#ba0e2e
palette = 2=#f2bc79
palette = 3=#1f8181
palette = 4=#f28972
palette = 5=#f2bc79
palette = 6=#f55d79
palette = 7=#ffffff
palette = 8=#35302b
palette = 9=#e61f44
palette = 10=#fbead6
palette = 11=#37cfcf
palette = 12=#fbd7cf
palette = 13=#fbead6
palette = 14=#fbbdc8
palette = 15=#ffffff
background = #0b0a09
foreground = #f8f8f2
cursor-color = #f8f8f0
cursor-text = #f8f8f2
selection-background = #f55d79
selection-foreground = #ffffff

Mellow Contrast のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#0b0a09rgb(11 10 9)hsl(30 10% 4%)oklch(14.6% 0.003 68.6)—
前景色foreground#f8f8f2rgb(248 248 242)hsl(60 30% 96%)oklch(97.7% 0.008 106.5)18.56 AAA
カーソルcursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)18.53 AAA
カーソルの文字cursorText#f8f8f2rgb(248 248 242)hsl(60 30% 96%)oklch(97.7% 0.008 106.5)18.56 AAA
選択範囲selection#f55d79rgb(245 93 121)hsl(349 88% 66%)oklch(68.3% 0.186 12.4)6.33 AA
選択範囲の文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.78 AAA
黒color0#191714rgb(25 23 20)hsl(36 11% 9%)oklch(20.6% 0.007 78.2)1.11 AA 未満
赤color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)3.01 AA(大きな文字)
緑color2#f2bc79rgb(242 188 121)hsl(33 82% 71%)oklch(83.0% 0.105 71.5)11.53 AAA
黄color3#1f8181rgb(31 129 129)hsl(180 61% 31%)oklch(55.0% 0.086 195.0)4.25 AA(大きな文字)
青color4#f28972rgb(242 137 114)hsl(11 83% 70%)oklch(73.8% 0.133 33.4)8.10 AAA
マゼンタcolor5#f2bc79rgb(242 188 121)hsl(33 82% 71%)oklch(83.0% 0.105 71.5)11.53 AAA
シアンcolor6#f55d79rgb(245 93 121)hsl(349 88% 66%)oklch(68.3% 0.186 12.4)6.33 AA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.78 AAA
明るい黒color8#35302brgb(53 48 43)hsl(30 10% 19%)oklch(31.3% 0.011 67.4)1.52 AA 未満
明るい赤color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)4.37 AA(大きな文字)
明るい緑color10#fbead6rgb(251 234 214)hsl(32 82% 91%)oklch(94.5% 0.032 71.9)16.81 AAA
明るい黄color11#37cfcfrgb(55 207 207)hsl(180 61% 51%)oklch(77.9% 0.122 194.9)10.35 AAA
明るい青color12#fbd7cfrgb(251 215 207)hsl(11 85% 90%)oklch(90.7% 0.042 32.6)14.81 AAA
明るいマゼンタcolor13#fbead6rgb(251 234 214)hsl(32 82% 91%)oklch(94.5% 0.032 71.9)16.81 AAA
明るいシアンcolor14#fbbdc8rgb(251 189 200)hsl(349 89% 86%)oklch(85.8% 0.073 6.9)12.45 AAA
明るい白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.78 AAA

Mellow Contrast について

Mellow Contrast はニュートラルのダーク背景(#0b0a09)を採用し、標準の前景色に #f8f8f2 を使ったターミナル配色です。本文の WCAG コントラスト比は 18.56:1(AAA)、12 色の ANSI カラーは平均 10.03:1、最小 3.01:1 です。

パレット全体は適度な彩度で、赤 #ba0e2e、緑 #f2bc79、青 #f28972、マゼンタ #f2bc79 を基調としています。

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

Mellow Contrast に似た配色

データ出典:Rainglow (MIT)