本文へスキップ

Neopolitan

Neopolitan はダーク系のターミナル配色(暖色)。背景色 #271f19、文字色 #ffffff、コントラスト比 16.2:1

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

Neopolitan の設定ファイル

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

Neopolitan

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

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

palette = 0=#000000
palette = 1=#800000
palette = 2=#61ce3c
palette = 3=#fbde2d
palette = 4=#253b76
palette = 5=#ff0080
palette = 6=#8da6ce
palette = 7=#f8f8f8
palette = 8=#000000
palette = 9=#800000
palette = 10=#61ce3c
palette = 11=#fbde2d
palette = 12=#253b76
palette = 13=#ff0080
palette = 14=#8da6ce
palette = 15=#f8f8f8
background = #271f19
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #ffffff
selection-background = #253b76
selection-foreground = #ffffff

Neopolitan のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#271f19rgb(39 31 25)hsl(26 22% 13%)oklch(24.7% 0.017 58.8)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.20 AAA
カーソルcursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.20 AAA
カーソルの文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.20 AAA
選択範囲selection#253b76rgb(37 59 118)hsl(224 52% 30%)oklch(36.9% 0.105 266.0)1.52 AA 未満
選択範囲の文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.20 AAA
黒color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.30 AA 未満
赤color1#800000rgb(128 0 0)hsl(0 100% 25%)oklch(37.7% 0.155 29.2)1.48 AA 未満
緑color2#61ce3crgb(97 206 60)hsl(105 60% 52%)oklch(75.9% 0.207 139.0)8.02 AAA
黄color3#fbde2drgb(251 222 45)hsl(52 96% 58%)oklch(89.8% 0.177 99.0)12.03 AAA
青color4#253b76rgb(37 59 118)hsl(224 52% 30%)oklch(36.9% 0.105 266.0)1.52 AA 未満
マゼンタcolor5#ff0080rgb(255 0 128)hsl(330 100% 50%)oklch(64.5% 0.260 2.5)4.29 AA(大きな文字)
シアンcolor6#8da6cergb(141 166 206)hsl(217 40% 68%)oklch(72.0% 0.065 259.7)6.54 AA
白color7#f8f8f8rgb(248 248 248)hsl(0 0% 97%)oklch(97.9% 0.000 0)15.25 AAA
明るい黒color8#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.30 AA 未満
明るい赤color9#800000rgb(128 0 0)hsl(0 100% 25%)oklch(37.7% 0.155 29.2)1.48 AA 未満
明るい緑color10#61ce3crgb(97 206 60)hsl(105 60% 52%)oklch(75.9% 0.207 139.0)8.02 AAA
明るい黄color11#fbde2drgb(251 222 45)hsl(52 96% 58%)oklch(89.8% 0.177 99.0)12.03 AAA
明るい青color12#253b76rgb(37 59 118)hsl(224 52% 30%)oklch(36.9% 0.105 266.0)1.52 AA 未満
明るいマゼンタcolor13#ff0080rgb(255 0 128)hsl(330 100% 50%)oklch(64.5% 0.260 2.5)4.29 AA(大きな文字)
明るいシアンcolor14#8da6cergb(141 166 206)hsl(217 40% 68%)oklch(72.0% 0.065 259.7)6.54 AA
明るい白color15#f8f8f8rgb(248 248 248)hsl(0 0% 97%)oklch(97.9% 0.000 0)15.25 AAA

Neopolitan について

Neopolitan は暖色寄りのダーク背景(#271f19)を採用し、標準の前景色に #ffffff を使ったターミナル配色です。本文の WCAG コントラスト比は 16.20:1(AAA)、12 色の ANSI カラーは平均 5.65:1、最小 1.48:1 です。

パレット全体は適度な彩度で、赤 #800000、緑 #61ce3c、青 #253b76、マゼンタ #ff0080 を基調としています。

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

Neopolitan に似た配色

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