本文へスキップ

X Praha

X Praha はダーク系のターミナル配色(ハイコントラスト・パステル)。背景色 #1a1a1a、文字色 #ffffff、コントラスト比 17.4:1

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

X Praha の設定ファイル

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

X Praha

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

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

palette = 0=#1a1a1a
palette = 1=#ff5555
palette = 2=#b8e6a0
palette = 3=#ffe4a3
palette = 4=#bd93f9
palette = 5=#ff9aa2
palette = 6=#8be9fd
palette = 7=#ffffff
palette = 8=#6272a4
palette = 9=#ff6e6e
palette = 10=#b8e6a0
palette = 11=#ffe4a3
palette = 12=#d6acff
palette = 13=#ff9aa2
palette = 14=#a4ffff
palette = 15=#ffffff
background = #1a1a1a
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #1a1a1a
selection-background = #ffffff
selection-foreground = #1a1a1a

X Praha のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.40 AAA
カーソルcursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.40 AAA
カーソルの文字cursorText#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)1.00 AA 未満
選択範囲selection#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.40 AAA
選択範囲の文字selectionText#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)1.00 AA 未満
黒color0#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)1.00 AA 未満
赤color1#ff5555rgb(255 85 85)hsl(0 100% 67%)oklch(68.2% 0.206 24.4)5.54 AA
緑color2#b8e6a0rgb(184 230 160)hsl(99 58% 76%)oklch(87.5% 0.105 135.2)12.32 AAA
黄color3#ffe4a3rgb(255 228 163)hsl(42 100% 82%)oklch(92.6% 0.087 88.0)13.99 AAA
青color4#bd93f9rgb(189 147 249)hsl(265 89% 78%)oklch(74.2% 0.149 301.9)7.21 AAA
マゼンタcolor5#ff9aa2rgb(255 154 162)hsl(355 100% 80%)oklch(79.2% 0.121 15.1)8.62 AAA
シアンcolor6#8be9fdrgb(139 233 253)hsl(191 97% 77%)oklch(88.3% 0.093 212.8)12.57 AAA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.40 AAA
明るい黒color8#6272a4rgb(98 114 164)hsl(225 27% 51%)oklch(56.0% 0.080 270.1)3.70 AA(大きな文字)
明るい赤color9#ff6e6ergb(255 110 110)hsl(0 100% 72%)oklch(71.6% 0.178 22.6)6.39 AA
明るい緑color10#b8e6a0rgb(184 230 160)hsl(99 58% 76%)oklch(87.5% 0.105 135.2)12.32 AAA
明るい黄color11#ffe4a3rgb(255 228 163)hsl(42 100% 82%)oklch(92.6% 0.087 88.0)13.99 AAA
明るい青color12#d6acffrgb(214 172 255)hsl(270 100% 84%)oklch(81.1% 0.122 307.0)9.29 AAA
明るいマゼンタcolor13#ff9aa2rgb(255 154 162)hsl(355 100% 80%)oklch(79.2% 0.121 15.1)8.62 AAA
明るいシアンcolor14#a4ffffrgb(164 255 255)hsl(180 100% 82%)oklch(94.3% 0.087 195.8)15.19 AAA
明るい白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.40 AAA

X Praha について

X Praha はニュートラルのダーク背景(#1a1a1a)を採用し、標準の前景色に #ffffff を使ったターミナル配色です。本文の WCAG コントラスト比は 17.40:1(AAA)、12 色の ANSI カラーは平均 10.50:1、最小 5.54:1 です。

パレット全体は適度な彩度で、赤 #ff5555、緑 #b8e6a0、青 #bd93f9、マゼンタ #ff9aa2 を基調としています。

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

上流リポジトリでは同一パレットが Praha の名称でも公開されています

X Praha に似た配色

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