本文へスキップ

urban

urban はダーク系のターミナル配色(ソフト・落ち着いた)。背景色 #312e39、文字色 #c0a79a、コントラスト比 5.8:1

設定を取得
背景色
#312e39
前景色
#c0a79a
文字のコントラスト
5.84:1AA
アクセントのコントラスト
2.45:1最小 1.53
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
❯

urban の設定ファイル

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

urban

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

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

palette = 0=#33303b
palette = 1=#87404f
palette = 2=#74934e
palette = 3=#ae835a
palette = 4=#615772
palette = 5=#783e57
palette = 6=#554757
palette = 7=#c0a79a
palette = 8=#4f4b58
palette = 9=#87404f
palette = 10=#74934e
palette = 11=#ae835a
palette = 12=#615772
palette = 13=#783e57
palette = 14=#554757
palette = 15=#c0a79a
background = #312e39
foreground = #c0a79a
cursor-color = #c0a79a
cursor-text = #312e39
selection-background = #c0a79a
selection-foreground = #312e39

urban のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#312e39rgb(49 46 57)hsl(256 11% 20%)oklch(30.9% 0.020 297.7)—
前景色foreground#c0a79argb(192 167 154)hsl(21 23% 68%)oklch(74.7% 0.035 49.2)5.84 AA
カーソルcursor#c0a79argb(192 167 154)hsl(21 23% 68%)oklch(74.7% 0.035 49.2)5.84 AA
カーソルの文字cursorText#312e39rgb(49 46 57)hsl(256 11% 20%)oklch(30.9% 0.020 297.7)1.00 AA 未満
選択範囲selection#c0a79argb(192 167 154)hsl(21 23% 68%)oklch(74.7% 0.035 49.2)5.84 AA
選択範囲の文字selectionText#312e39rgb(49 46 57)hsl(256 11% 20%)oklch(30.9% 0.020 297.7)1.00 AA 未満
黒color0#33303brgb(51 48 59)hsl(256 10% 21%)oklch(31.7% 0.020 297.7)1.03 AA 未満
赤color1#87404frgb(135 64 79)hsl(347 36% 39%)oklch(46.7% 0.098 8.3)1.82 AA 未満
緑color2#74934ergb(116 147 78)hsl(87 31% 44%)oklch(62.3% 0.102 128.8)3.81 AA(大きな文字)
黄color3#ae835argb(174 131 90)hsl(29 34% 52%)oklch(64.2% 0.077 64.4)3.92 AA(大きな文字)
青color4#615772rgb(97 87 114)hsl(262 13% 39%)oklch(47.7% 0.044 301.7)1.97 AA 未満
マゼンタcolor5#783e57rgb(120 62 87)hsl(334 32% 36%)oklch(44.4% 0.086 353.9)1.66 AA 未満
シアンcolor6#554757rgb(85 71 87)hsl(293 10% 31%)oklch(41.8% 0.032 322.1)1.53 AA 未満
白color7#c0a79argb(192 167 154)hsl(21 23% 68%)oklch(74.7% 0.035 49.2)5.84 AA
明るい黒color8#4f4b58rgb(79 75 88)hsl(258 8% 32%)oklch(42.2% 0.022 299.5)1.57 AA 未満
明るい赤color9#87404frgb(135 64 79)hsl(347 36% 39%)oklch(46.7% 0.098 8.3)1.82 AA 未満
明るい緑color10#74934ergb(116 147 78)hsl(87 31% 44%)oklch(62.3% 0.102 128.8)3.81 AA(大きな文字)
明るい黄color11#ae835argb(174 131 90)hsl(29 34% 52%)oklch(64.2% 0.077 64.4)3.92 AA(大きな文字)
明るい青color12#615772rgb(97 87 114)hsl(262 13% 39%)oklch(47.7% 0.044 301.7)1.97 AA 未満
明るいマゼンタcolor13#783e57rgb(120 62 87)hsl(334 32% 36%)oklch(44.4% 0.086 353.9)1.66 AA 未満
明るいシアンcolor14#554757rgb(85 71 87)hsl(293 10% 31%)oklch(41.8% 0.032 322.1)1.53 AA 未満
明るい白color15#c0a79argb(192 167 154)hsl(21 23% 68%)oklch(74.7% 0.035 49.2)5.84 AA

urban について

urban は寒色寄りのダーク背景(#312e39)を採用し、標準の前景色に #c0a79a を使ったターミナル配色です。本文の WCAG コントラスト比は 5.84:1(AA)、12 色の ANSI カラーは平均 2.45:1、最小 1.53:1 です。

パレット全体は彩度が控えめで、赤 #87404f、緑 #74934e、青 #615772、マゼンタ #783e57 を基調としています。

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

urban に似た配色

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