本文へスキップ

Medallion

Medallion はダーク系のターミナル配色(暖色)。背景色 #1d1908、文字色 #cac296、コントラスト比 9.8:1

設定を取得
背景色
#1d1908
前景色
#cac296
文字のコントラスト
9.77:1AAA
アクセントのコントラスト
7.39:1最小 3.33
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
❯

Medallion の設定ファイル

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

Medallion

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

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

palette = 0=#000000
palette = 1=#b64c00
palette = 2=#7c8b16
palette = 3=#d3bd26
palette = 4=#616bb0
palette = 5=#8c5a90
palette = 6=#916c25
palette = 7=#cac29a
palette = 8=#5e5219
palette = 9=#ff9149
palette = 10=#b2ca3b
palette = 11=#ffe54a
palette = 12=#acb8ff
palette = 13=#ffa0ff
palette = 14=#ffbc51
palette = 15=#fed698
background = #1d1908
foreground = #cac296
cursor-color = #d3ba30
cursor-text = #d2bc3d
selection-background = #626dac
selection-foreground = #cac29a

Medallion のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#1d1908rgb(29 25 8)hsl(49 57% 7%)oklch(21.3% 0.030 96.5)—
前景色foreground#cac296rgb(202 194 150)hsl(51 33% 69%)oklch(81.0% 0.059 98.9)9.77 AAA
カーソルcursor#d3ba30rgb(211 186 48)hsl(51 65% 51%)oklch(78.8% 0.149 98.3)9.07 AAA
カーソルの文字cursorText#d2bc3drgb(210 188 61)hsl(51 62% 53%)oklch(79.2% 0.143 99.2)9.21 AAA
選択範囲selection#626dacrgb(98 109 172)hsl(231 31% 53%)oklch(55.3% 0.099 275.2)3.60 AA(大きな文字)
選択範囲の文字selectionText#cac29argb(202 194 154)hsl(50 31% 70%)oklch(81.0% 0.054 98.0)9.79 AAA
黒color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.19 AA 未満
赤color1#b64c00rgb(182 76 0)hsl(25 100% 36%)oklch(54.8% 0.154 45.9)3.37 AA(大きな文字)
緑color2#7c8b16rgb(124 139 22)hsl(68 73% 32%)oklch(60.4% 0.133 117.3)4.65 AA
黄color3#d3bd26rgb(211 189 38)hsl(52 69% 49%)oklch(79.3% 0.156 100.2)9.27 AAA
青color4#616bb0rgb(97 107 176)hsl(232 33% 54%)oklch(55.1% 0.108 276.0)3.55 AA(大きな文字)
マゼンタcolor5#8c5a90rgb(140 90 144)hsl(296 23% 46%)oklch(54.2% 0.100 324.2)3.33 AA(大きな文字)
シアンcolor6#916c25rgb(145 108 37)hsl(39 59% 36%)oklch(55.5% 0.098 80.1)3.66 AA(大きな文字)
白color7#cac29argb(202 194 154)hsl(50 31% 70%)oklch(81.0% 0.054 98.0)9.79 AAA
明るい黒color8#5e5219rgb(94 82 25)hsl(50 58% 23%)oklch(43.9% 0.077 97.1)2.26 AA 未満
明るい赤color9#ff9149rgb(255 145 73)hsl(24 100% 64%)oklch(76.2% 0.158 51.3)7.87 AAA
明るい緑color10#b2ca3brgb(178 202 59)hsl(70 57% 51%)oklch(79.5% 0.165 118.7)9.54 AAA
明るい黄color11#ffe54argb(255 229 74)hsl(51 100% 65%)oklch(91.7% 0.168 99.5)13.86 AAA
明るい青color12#acb8ffrgb(172 184 255)hsl(231 100% 84%)oklch(79.9% 0.102 276.5)9.25 AAA
明るいマゼンタcolor13#ffa0ffrgb(255 160 255)hsl(300 100% 81%)oklch(83.2% 0.163 326.9)9.81 AAA
明るいシアンcolor14#ffbc51rgb(255 188 81)hsl(37 100% 66%)oklch(83.8% 0.143 76.0)10.52 AAA
明るい白color15#fed698rgb(254 214 152)hsl(36 98% 80%)oklch(89.6% 0.090 78.1)12.79 AAA

Medallion について

Medallion は暖色寄りのダーク背景(#1d1908)を採用し、標準の前景色に #cac296 を使ったターミナル配色です。本文の WCAG コントラスト比は 9.77:1(AAA)、12 色の ANSI カラーは平均 7.39:1、最小 3.33:1 です。

パレット全体は適度な彩度で、赤 #b64c00、緑 #7c8b16、青 #616bb0、マゼンタ #8c5a90 を基調としています。

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

Medallion に似た配色

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