本文へスキップ

Grape

Grape はダーク系のターミナル配色(ソフト・寒色)。背景色 #171423、文字色 #9f9fa1、コントラスト比 6.8:1

設定を取得
背景色
#171423
前景色
#9f9fa1
文字のコントラスト
6.85:1AA
アクセントのコントラスト
7.66:1最小 3.00
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
❯

Grape の設定ファイル

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

Grape

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

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

palette = 0=#2d283f
palette = 1=#ed2261
palette = 2=#1fa91b
palette = 3=#8ddc20
palette = 4=#487df4
palette = 5=#8d35c9
palette = 6=#3bdeed
palette = 7=#9e9ea0
palette = 8=#59516a
palette = 9=#f0729a
palette = 10=#53aa5e
palette = 11=#b2dc87
palette = 12=#a9bcec
palette = 13=#ad81c2
palette = 14=#9de3eb
palette = 15=#a288f7
background = #171423
foreground = #9f9fa1
cursor-color = #a288f7
cursor-text = #171422
selection-background = #493d70
selection-foreground = #171422

Grape のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#171423rgb(23 20 35)hsl(252 27% 11%)oklch(20.3% 0.030 292.7)—
前景色foreground#9f9fa1rgb(159 159 161)hsl(240 1% 63%)oklch(70.3% 0.003 286.3)6.85 AA
カーソルcursor#a288f7rgb(162 136 247)hsl(254 87% 75%)oklch(69.8% 0.159 292.6)6.38 AA
カーソルの文字cursorText#171422rgb(23 20 34)hsl(253 26% 11%)oklch(20.2% 0.028 293.6)1.00 AA 未満
選択範囲selection#493d70rgb(73 61 112)hsl(254 29% 34%)oklch(39.7% 0.085 293.0)1.88 AA 未満
選択範囲の文字selectionText#171422rgb(23 20 34)hsl(253 26% 11%)oklch(20.2% 0.028 293.6)1.00 AA 未満
黒color0#2d283frgb(45 40 63)hsl(253 22% 20%)oklch(29.3% 0.042 293.6)1.28 AA 未満
赤color1#ed2261rgb(237 34 97)hsl(341 85% 53%)oklch(61.5% 0.231 11.2)4.31 AA(大きな文字)
緑color2#1fa91brgb(31 169 27)hsl(118 72% 38%)oklch(64.0% 0.206 142.5)5.81 AA
黄color3#8ddc20rgb(141 220 32)hsl(85 75% 49%)oklch(81.2% 0.215 131.4)10.67 AAA
青color4#487df4rgb(72 125 244)hsl(222 89% 62%)oklch(61.6% 0.187 263.7)4.75 AA
マゼンタcolor5#8d35c9rgb(141 53 201)hsl(276 58% 50%)oklch(52.6% 0.218 307.5)3.00 AA(大きな文字)
シアンcolor6#3bdeedrgb(59 222 237)hsl(185 83% 58%)oklch(82.6% 0.129 204.4)11.08 AAA
白color7#9e9ea0rgb(158 158 160)hsl(240 1% 62%)oklch(70.0% 0.003 286.3)6.76 AA
明るい黒color8#59516argb(89 81 106)hsl(259 13% 37%)oklch(45.2% 0.041 299.4)2.42 AA 未満
明るい赤color9#f0729argb(240 114 154)hsl(341 81% 69%)oklch(71.1% 0.160 2.0)6.53 AA
明るい緑color10#53aa5ergb(83 170 94)hsl(128 34% 50%)oklch(66.5% 0.139 146.4)6.27 AA
明るい黄color11#b2dc87rgb(178 220 135)hsl(90 55% 70%)oklch(84.5% 0.120 130.0)11.61 AAA
明るい青color12#a9bcecrgb(169 188 236)hsl(223 64% 79%)oklch(79.7% 0.072 267.9)9.56 AAA
明るいマゼンタcolor13#ad81c2rgb(173 129 194)hsl(281 35% 63%)oklch(66.9% 0.105 314.5)5.77 AA
明るいシアンcolor14#9de3ebrgb(157 227 235)hsl(186 66% 77%)oklch(87.2% 0.071 204.9)12.60 AAA
明るい白color15#a288f7rgb(162 136 247)hsl(254 87% 75%)oklch(69.8% 0.159 292.6)6.38 AA

Grape について

Grape は寒色寄りのダーク背景(#171423)を採用し、標準の前景色に #9f9fa1 を使ったターミナル配色です。本文の WCAG コントラスト比は 6.85:1(AA)、12 色の ANSI カラーは平均 7.66:1、最小 3.00:1 です。

パレット全体は適度な彩度で、赤 #ed2261、緑 #1fa91b、青 #487df4、マゼンタ #8d35c9 を基調としています。

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

Grape に似た配色

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