本文へスキップ

Primer Light

Primer Light はライト系のターミナル配色(ソフト・ビビッド)。背景色 #fafbfc、文字色 #2f363d、コントラスト比 11.8:1

設定を取得
背景色
#fafbfc
前景色
#2f363d
文字のコントラスト
11.81:1AAA
アクセントのコントラスト
3.23:1最小 1.38
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
❯

Primer Light の設定ファイル

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

Primer Light

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

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

palette = 0=#fafbfc
palette = 1=#d73a49
palette = 2=#28a745
palette = 3=#ffd33d
palette = 4=#0366d6
palette = 5=#ea4aaa
palette = 6=#79b8ff
palette = 7=#2f363d
palette = 8=#959da5
palette = 9=#d73a49
palette = 10=#28a745
palette = 11=#ffd33d
palette = 12=#0366d6
palette = 13=#ea4aaa
palette = 14=#79b8ff
palette = 15=#1b1f23
background = #fafbfc
foreground = #2f363d
cursor-color = #2f363d
cursor-text = #fafbfc
selection-background = #c2c5c8
selection-foreground = #2f363d

Primer Light のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#fafbfcrgb(250 251 252)hsl(210 25% 98%)oklch(98.8% 0.002 247.8)—
前景色foreground#2f363drgb(47 54 61)hsl(210 13% 21%)oklch(32.9% 0.016 248.3)11.81 AAA
カーソルcursor#2f363drgb(47 54 61)hsl(210 13% 21%)oklch(32.9% 0.016 248.3)11.81 AAA
カーソルの文字cursorText#fafbfcrgb(250 251 252)hsl(210 25% 98%)oklch(98.8% 0.002 247.8)1.00 AA 未満
選択範囲selection#c2c5c8rgb(194 197 200)hsl(210 5% 77%)oklch(82.2% 0.005 247.9)1.67 AA 未満
選択範囲の文字selectionText#2f363drgb(47 54 61)hsl(210 13% 21%)oklch(32.9% 0.016 248.3)11.81 AAA
黒color0#fafbfcrgb(250 251 252)hsl(210 25% 98%)oklch(98.8% 0.002 247.8)1.00 AA 未満
赤color1#d73a49rgb(215 58 73)hsl(354 66% 54%)oklch(58.8% 0.193 20.5)4.42 AA(大きな文字)
緑color2#28a745rgb(40 167 69)hsl(134 61% 41%)oklch(64.0% 0.175 146.7)3.02 AA(大きな文字)
黄color3#ffd33drgb(255 211 61)hsl(46 100% 62%)oklch(88.1% 0.163 91.6)1.38 AA 未満
青color4#0366d6rgb(3 102 214)hsl(212 97% 43%)oklch(53.0% 0.190 257.4)5.23 AA
マゼンタcolor5#ea4aaargb(234 74 170)hsl(324 79% 60%)oklch(66.1% 0.216 347.7)3.35 AA(大きな文字)
シアンcolor6#79b8ffrgb(121 184 255)hsl(212 100% 74%)oklch(76.9% 0.121 252.3)2.00 AA 未満
白color7#2f363drgb(47 54 61)hsl(210 13% 21%)oklch(32.9% 0.016 248.3)11.81 AAA
明るい黒color8#959da5rgb(149 157 165)hsl(210 8% 62%)oklch(69.2% 0.015 248.0)2.65 AA 未満
明るい赤color9#d73a49rgb(215 58 73)hsl(354 66% 54%)oklch(58.8% 0.193 20.5)4.42 AA(大きな文字)
明るい緑color10#28a745rgb(40 167 69)hsl(134 61% 41%)oklch(64.0% 0.175 146.7)3.02 AA(大きな文字)
明るい黄color11#ffd33drgb(255 211 61)hsl(46 100% 62%)oklch(88.1% 0.163 91.6)1.38 AA 未満
明るい青color12#0366d6rgb(3 102 214)hsl(212 97% 43%)oklch(53.0% 0.190 257.4)5.23 AA
明るいマゼンタcolor13#ea4aaargb(234 74 170)hsl(324 79% 60%)oklch(66.1% 0.216 347.7)3.35 AA(大きな文字)
明るいシアンcolor14#79b8ffrgb(121 184 255)hsl(212 100% 74%)oklch(76.9% 0.121 252.3)2.00 AA 未満
明るい白color15#1b1f23rgb(27 31 35)hsl(210 13% 12%)oklch(23.7% 0.010 248.2)16.00 AAA

Primer Light について

Primer Light はニュートラルのライト背景(#fafbfc)を採用し、標準の前景色に #2f363d を使ったターミナル配色です。本文の WCAG コントラスト比は 11.81:1(AAA)、12 色の ANSI カラーは平均 3.23:1、最小 1.38:1 です。

パレット全体は彩度が高めで、赤 #d73a49、緑 #28a745、青 #0366d6、マゼンタ #ea4aaa を基調としています。Primer テーマファミリーに属する配色です。

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

Primer Light に似た配色

データ出典:Gogh (MIT OR Apache-2.0)