本文へスキップ

Primary

Primary はライト系のターミナル配色(ソフト・ビビッド)。背景色 #ffffff、文字色 #000000、コントラスト比 21.0:1

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

Primary の設定ファイル

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

Primary

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

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

palette = 0=#000000
palette = 1=#db4437
palette = 2=#0f9d58
palette = 3=#f4b400
palette = 4=#4285f4
palette = 5=#db4437
palette = 6=#4285f4
palette = 7=#ffffff
palette = 8=#000000
palette = 9=#db4437
palette = 10=#0f9d58
palette = 11=#f4b400
palette = 12=#4285f4
palette = 13=#4285f4
palette = 14=#0f9d58
palette = 15=#ffffff
background = #ffffff
foreground = #000000
cursor-color = #000000
cursor-text = #ffffff
selection-background = #656565
selection-foreground = #eeeeee

Primary のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)—
前景色foreground#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)21.00 AAA
カーソルcursor#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)21.00 AAA
カーソルの文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.00 AA 未満
選択範囲selection#656565rgb(101 101 101)hsl(0 0% 40%)oklch(50.7% 0.000 0)5.83 AA
選択範囲の文字selectionText#eeeeeergb(238 238 238)hsl(0 0% 93%)oklch(94.9% 0.000 0)1.16 AA 未満
黒color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)21.00 AAA
赤color1#db4437rgb(219 68 55)hsl(5 69% 54%)oklch(60.2% 0.190 28.9)4.29 AA(大きな文字)
緑color2#0f9d58rgb(15 157 88)hsl(151 83% 34%)oklch(61.2% 0.151 154.1)3.51 AA(大きな文字)
黄color3#f4b400rgb(244 180 0)hsl(44 100% 48%)oklch(80.8% 0.166 82.7)1.85 AA 未満
青color4#4285f4rgb(66 133 244)hsl(217 89% 61%)oklch(63.0% 0.180 260.0)3.56 AA(大きな文字)
マゼンタcolor5#db4437rgb(219 68 55)hsl(5 69% 54%)oklch(60.2% 0.190 28.9)4.29 AA(大きな文字)
シアンcolor6#4285f4rgb(66 133 244)hsl(217 89% 61%)oklch(63.0% 0.180 260.0)3.56 AA(大きな文字)
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.00 AA 未満
明るい黒color8#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)21.00 AAA
明るい赤color9#db4437rgb(219 68 55)hsl(5 69% 54%)oklch(60.2% 0.190 28.9)4.29 AA(大きな文字)
明るい緑color10#0f9d58rgb(15 157 88)hsl(151 83% 34%)oklch(61.2% 0.151 154.1)3.51 AA(大きな文字)
明るい黄color11#f4b400rgb(244 180 0)hsl(44 100% 48%)oklch(80.8% 0.166 82.7)1.85 AA 未満
明るい青color12#4285f4rgb(66 133 244)hsl(217 89% 61%)oklch(63.0% 0.180 260.0)3.56 AA(大きな文字)
明るいマゼンタcolor13#4285f4rgb(66 133 244)hsl(217 89% 61%)oklch(63.0% 0.180 260.0)3.56 AA(大きな文字)
明るいシアンcolor14#0f9d58rgb(15 157 88)hsl(151 83% 34%)oklch(61.2% 0.151 154.1)3.51 AA(大きな文字)
明るい白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.00 AA 未満

Primary について

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

パレット全体は彩度が高めで、赤 #db4437、緑 #0f9d58、青 #4285f4、マゼンタ #db4437 を基調としています。

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

Primary に似た配色

データ出典:iTerm2 Color Schemes (Apache-2.0)