本文へスキップ

Electron Highlighter

Electron Highlighter はダーク系のターミナル配色(寒色)。背景色 #23283d、文字色 #a5b6d4、コントラスト比 7.1:1

設定を取得
背景色
#23283d
前景色
#a5b6d4
文字のコントラスト
7.10:1AAA
アクセントのコントラスト
8.66:1最小 5.40
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
❯

Electron Highlighter の設定ファイル

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

Electron Highlighter

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

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

palette = 0=#15161f
palette = 1=#ff6c8d
palette = 2=#00ffc3
palette = 3=#ffebb1
palette = 4=#77abff
palette = 5=#daa4f4
palette = 6=#00e5ff
palette = 7=#7187b7
palette = 8=#4b5b8c
palette = 9=#ff6c8d
palette = 10=#00ffc3
palette = 11=#ffebb1
palette = 12=#77abff
palette = 13=#daa4f4
palette = 14=#00e5ff
palette = 15=#c3cde2
background = #23283d
foreground = #a5b6d4
cursor-color = #a5b6d4
cursor-text = #171b29
selection-background = #293257
selection-foreground = #a5b6d4

Electron Highlighter のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#23283drgb(35 40 61)hsl(228 27% 19%)oklch(28.2% 0.039 273.4)—
前景色foreground#a5b6d4rgb(165 182 212)hsl(218 35% 74%)oklch(77.3% 0.047 261.8)7.10 AAA
カーソルcursor#a5b6d4rgb(165 182 212)hsl(218 35% 74%)oklch(77.3% 0.047 261.8)7.10 AAA
カーソルの文字cursorText#171b29rgb(23 27 41)hsl(227 28% 13%)oklch(22.5% 0.028 271.7)1.18 AA 未満
選択範囲selection#293257rgb(41 50 87)hsl(228 36% 25%)oklch(32.8% 0.067 271.9)1.17 AA 未満
選択範囲の文字selectionText#a5b6d4rgb(165 182 212)hsl(218 35% 74%)oklch(77.3% 0.047 261.8)7.10 AAA
黒color0#15161frgb(21 22 31)hsl(234 19% 10%)oklch(20.3% 0.018 279.7)1.24 AA 未満
赤color1#ff6c8drgb(255 108 141)hsl(347 100% 71%)oklch(72.0% 0.181 8.9)5.40 AA
緑color2#00ffc3rgb(0 255 195)hsl(166 100% 50%)oklch(88.8% 0.180 167.9)11.16 AAA
黄color3#ffebb1rgb(255 235 177)hsl(45 100% 85%)oklch(94.2% 0.077 91.3)12.32 AAA
青color4#77abffrgb(119 171 255)hsl(217 100% 73%)oklch(74.0% 0.134 259.6)6.28 AA
マゼンタcolor5#daa4f4rgb(218 164 244)hsl(281 78% 80%)oklch(79.6% 0.124 314.4)7.35 AAA
シアンcolor6#00e5ffrgb(0 229 255)hsl(186 100% 50%)oklch(84.4% 0.146 209.3)9.46 AAA
白color7#7187b7rgb(113 135 183)hsl(221 33% 58%)oklch(62.5% 0.077 265.2)4.06 AA(大きな文字)
明るい黒color8#4b5b8crgb(75 91 140)hsl(225 30% 42%)oklch(48.0% 0.082 269.4)2.20 AA 未満
明るい赤color9#ff6c8drgb(255 108 141)hsl(347 100% 71%)oklch(72.0% 0.181 8.9)5.40 AA
明るい緑color10#00ffc3rgb(0 255 195)hsl(166 100% 50%)oklch(88.8% 0.180 167.9)11.16 AAA
明るい黄color11#ffebb1rgb(255 235 177)hsl(45 100% 85%)oklch(94.2% 0.077 91.3)12.32 AAA
明るい青color12#77abffrgb(119 171 255)hsl(217 100% 73%)oklch(74.0% 0.134 259.6)6.28 AA
明るいマゼンタcolor13#daa4f4rgb(218 164 244)hsl(281 78% 80%)oklch(79.6% 0.124 314.4)7.35 AAA
明るいシアンcolor14#00e5ffrgb(0 229 255)hsl(186 100% 50%)oklch(84.4% 0.146 209.3)9.46 AAA
明るい白color15#c3cde2rgb(195 205 226)hsl(221 35% 83%)oklch(84.7% 0.031 265.3)9.12 AAA

Electron Highlighter について

Electron Highlighter は寒色寄りのダーク背景(#23283d)を採用し、標準の前景色に #a5b6d4 を使ったターミナル配色です。本文の WCAG コントラスト比は 7.10:1(AAA)、12 色の ANSI カラーは平均 8.66:1、最小 5.40:1 です。

パレット全体は適度な彩度で、赤 #ff6c8d、緑 #00ffc3、青 #77abff、マゼンタ #daa4f4 を基調としています。

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

Electron Highlighter に似た配色

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