本文へスキップ

Keen Contrast

Keen Contrast はダーク系のターミナル配色(トゥルーブラック)。背景色 #000000、文字色 #ffffff、コントラスト比 21.0:1

設定を取得
背景色
#000000
前景色
#ffffff
文字のコントラスト
21.00:1AAA
アクセントのコントラスト
8.52:1最小 3.19
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
❯

Keen Contrast の設定ファイル

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

Keen Contrast

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

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

palette = 0=#0d0d0d
palette = 1=#ba0e2e
palette = 2=#6f8b94
palette = 3=#8767b7
palette = 4=#b5db99
palette = 5=#6f8b94
palette = 6=#8767b7
palette = 7=#ffffff
palette = 8=#262626
palette = 9=#e61f44
palette = 10=#aababf
palette = 11=#beacd8
palette = 12=#ecf6e4
palette = 13=#aababf
palette = 14=#beacd8
palette = 15=#ffffff
background = #000000
foreground = #ffffff
cursor-color = #f8f8f0
cursor-text = #ffffff
selection-background = #8767b7
selection-foreground = #ffffff

Keen Contrast のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
カーソルcursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)19.68 AAA
カーソルの文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
選択範囲selection#8767b7rgb(135 103 183)hsl(264 36% 56%)oklch(57.9% 0.123 301.1)4.65 AA
選択範囲の文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
黒color0#0d0d0drgb(13 13 13)hsl(0 0% 5%)oklch(15.9% 0.000 0)1.08 AA 未満
赤color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)3.19 AA(大きな文字)
緑color2#6f8b94rgb(111 139 148)hsl(195 15% 51%)oklch(61.8% 0.035 219.4)5.80 AA
黄color3#8767b7rgb(135 103 183)hsl(264 36% 56%)oklch(57.9% 0.123 301.1)4.65 AA
青color4#b5db99rgb(181 219 153)hsl(95 48% 73%)oklch(84.8% 0.097 132.5)13.56 AAA
マゼンタcolor5#6f8b94rgb(111 139 148)hsl(195 15% 51%)oklch(61.8% 0.035 219.4)5.80 AA
シアンcolor6#8767b7rgb(135 103 183)hsl(264 36% 56%)oklch(57.9% 0.123 301.1)4.65 AA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
明るい黒color8#262626rgb(38 38 38)hsl(0 0% 15%)oklch(26.9% 0.000 0)1.39 AA 未満
明るい赤color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)4.64 AA
明るい緑color10#aababfrgb(170 186 191)hsl(194 14% 71%)oklch(77.8% 0.019 218.4)10.49 AAA
明るい黄color11#beacd8rgb(190 172 216)hsl(265 36% 76%)oklch(77.4% 0.065 303.5)10.08 AAA
明るい青color12#ecf6e4rgb(236 246 228)hsl(93 50% 93%)oklch(96.1% 0.026 130.9)18.87 AAA
明るいマゼンタcolor13#aababfrgb(170 186 191)hsl(194 14% 71%)oklch(77.8% 0.019 218.4)10.49 AAA
明るいシアンcolor14#beacd8rgb(190 172 216)hsl(265 36% 76%)oklch(77.4% 0.065 303.5)10.08 AAA
明るい白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA

Keen Contrast について

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

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

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

Keen Contrast に似た配色

データ出典:Rainglow (MIT)