本文へスキップ

Loyal Contrast

Loyal Contrast はダーク系のターミナル配色(寒色)。背景色 #1d1b23、文字色 #bbb1c9、コントラスト比 8.3:1

設定を取得
背景色
#1d1b23
前景色
#bbb1c9
文字のコントラスト
8.31:1AAA
アクセントのコントラスト
8.03:1最小 2.59
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
❯

Loyal Contrast の設定ファイル

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

Loyal Contrast

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

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

palette = 0=#292631
palette = 1=#ba0e2e
palette = 2=#3cbbb1
palette = 3=#ee4266
palette = 4=#b3adba
palette = 5=#9484d6
palette = 6=#b3adba
palette = 7=#c8c0d3
palette = 8=#413c4e
palette = 9=#e61f44
palette = 10=#85d8d1
palette = 11=#f6a0b2
palette = 12=#e6e4e9
palette = 13=#d7d0ef
palette = 14=#e6e4e9
palette = 15=#e2dee8
background = #1d1b23
foreground = #bbb1c9
cursor-color = #f8f8f0
cursor-text = #bbb1c9
selection-background = #3cbbb1
selection-foreground = #ffffff

Loyal Contrast のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#1d1b23rgb(29 27 35)hsl(255 13% 12%)oklch(22.8% 0.016 296.6)—
前景色foreground#bbb1c9rgb(187 177 201)hsl(265 18% 74%)oklch(77.6% 0.035 304.4)8.31 AAA
カーソルcursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)15.95 AAA
カーソルの文字cursorText#bbb1c9rgb(187 177 201)hsl(265 18% 74%)oklch(77.6% 0.035 304.4)8.31 AAA
選択範囲selection#3cbbb1rgb(60 187 177)hsl(175 51% 48%)oklch(72.1% 0.110 187.4)7.24 AAA
選択範囲の文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.03 AAA
黒color0#292631rgb(41 38 49)hsl(256 13% 17%)oklch(27.7% 0.020 297.5)1.15 AA 未満
赤color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.59 AA 未満
緑color2#3cbbb1rgb(60 187 177)hsl(175 51% 48%)oklch(72.1% 0.110 187.4)7.24 AAA
黄color3#ee4266rgb(238 66 102)hsl(347 83% 60%)oklch(63.9% 0.207 13.5)4.55 AA
青color4#b3adbargb(179 173 186)hsl(268 9% 70%)oklch(75.7% 0.019 306.6)7.79 AAA
マゼンタcolor5#9484d6rgb(148 132 214)hsl(252 50% 68%)oklch(66.1% 0.120 291.7)5.30 AA
シアンcolor6#b3adbargb(179 173 186)hsl(268 9% 70%)oklch(75.7% 0.019 306.6)7.79 AAA
白color7#c8c0d3rgb(200 192 211)hsl(265 18% 79%)oklch(82.0% 0.028 304.8)9.68 AAA
明るい黒color8#413c4ergb(65 60 78)hsl(257 13% 27%)oklch(36.9% 0.031 297.6)1.61 AA 未満
明るい赤color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)3.77 AA(大きな文字)
明るい緑color10#85d8d1rgb(133 216 209)hsl(175 52% 68%)oklch(82.7% 0.082 188.8)10.33 AAA
明るい黄color11#f6a0b2rgb(246 160 178)hsl(347 83% 80%)oklch(79.6% 0.104 6.1)8.59 AAA
明るい青color12#e6e4e9rgb(230 228 233)hsl(264 10% 90%)oklch(92.2% 0.007 304.2)13.49 AAA
明るいマゼンタcolor13#d7d0efrgb(215 208 239)hsl(254 49% 88%)oklch(87.3% 0.043 295.8)11.48 AAA
明るいシアンcolor14#e6e4e9rgb(230 228 233)hsl(264 10% 90%)oklch(92.2% 0.007 304.2)13.49 AAA
明るい白color15#e2dee8rgb(226 222 232)hsl(264 18% 89%)oklch(90.7% 0.014 304.1)12.85 AAA

Loyal Contrast について

Loyal Contrast は寒色寄りのダーク背景(#1d1b23)を採用し、標準の前景色に #bbb1c9 を使ったターミナル配色です。本文の WCAG コントラスト比は 8.31:1(AAA)、12 色の ANSI カラーは平均 8.03:1、最小 2.59:1 です。

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

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

Loyal Contrast に似た配色

データ出典:Rainglow (MIT)