本文へスキップ

traffic

traffic はダーク系のターミナル配色(ソフト・モノクロ)。背景色 #272c30、文字色 #cfb9a8、コントラスト比 7.5:1

設定を取得
背景色
#272c30
前景色
#cfb9a8
文字のコントラスト
7.49:1AAA
アクセントのコントラスト
3.01:1最小 2.11
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
❯

traffic の設定ファイル

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

traffic

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

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

palette = 0=#282d31
palette = 1=#934e46
palette = 2=#637268
palette = 3=#c79e84
palette = 4=#515e67
palette = 5=#715f5e
palette = 6=#5c6f7d
palette = 7=#cfb9a8
palette = 8=#414a51
palette = 9=#934e46
palette = 10=#637270
palette = 11=#c79e84
palette = 12=#515e67
palette = 13=#715f5e
palette = 14=#5c6f7d
palette = 15=#ddcec2
background = #272c30
foreground = #cfb9a8
cursor-color = #cfb9a8
cursor-text = #272c30
selection-background = #cfb9a8
selection-foreground = #272c30

traffic のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#272c30rgb(39 44 48)hsl(207 10% 17%)oklch(29.0% 0.010 242.0)—
前景色foreground#cfb9a8rgb(207 185 168)hsl(26 29% 74%)oklch(80.0% 0.034 60.0)7.49 AAA
カーソルcursor#cfb9a8rgb(207 185 168)hsl(26 29% 74%)oklch(80.0% 0.034 60.0)7.49 AAA
カーソルの文字cursorText#272c30rgb(39 44 48)hsl(207 10% 17%)oklch(29.0% 0.010 242.0)1.00 AA 未満
選択範囲selection#cfb9a8rgb(207 185 168)hsl(26 29% 74%)oklch(80.0% 0.034 60.0)7.49 AAA
選択範囲の文字selectionText#272c30rgb(39 44 48)hsl(207 10% 17%)oklch(29.0% 0.010 242.0)1.00 AA 未満
黒color0#282d31rgb(40 45 49)hsl(207 10% 17%)oklch(29.4% 0.010 242.0)1.01 AA 未満
赤color1#934e46rgb(147 78 70)hsl(6 35% 43%)oklch(50.5% 0.094 27.8)2.30 AA 未満
緑color2#637268rgb(99 114 104)hsl(140 7% 42%)oklch(53.6% 0.024 156.3)2.78 AA 未満
黄color3#c79e84rgb(199 158 132)hsl(23 37% 65%)oklch(73.0% 0.061 53.9)5.81 AA
青color4#515e67rgb(81 94 103)hsl(205 12% 36%)oklch(47.4% 0.022 238.2)2.11 AA 未満
マゼンタcolor5#715f5ergb(113 95 94)hsl(3 9% 41%)oklch(50.3% 0.023 21.7)2.35 AA 未満
シアンcolor6#5c6f7drgb(92 111 125)hsl(205 15% 43%)oklch(53.1% 0.032 240.1)2.70 AA 未満
白color7#cfb9a8rgb(207 185 168)hsl(26 29% 74%)oklch(80.0% 0.034 60.0)7.49 AAA
明るい黒color8#414a51rgb(65 74 81)hsl(206 11% 29%)oklch(40.4% 0.017 241.3)1.56 AA 未満
明るい赤color9#934e46rgb(147 78 70)hsl(6 35% 43%)oklch(50.5% 0.094 27.8)2.30 AA 未満
明るい緑color10#637270rgb(99 114 112)hsl(172 7% 42%)oklch(53.9% 0.018 186.9)2.80 AA 未満
明るい黄color11#c79e84rgb(199 158 132)hsl(23 37% 65%)oklch(73.0% 0.061 53.9)5.81 AA
明るい青color12#515e67rgb(81 94 103)hsl(205 12% 36%)oklch(47.4% 0.022 238.2)2.11 AA 未満
明るいマゼンタcolor13#715f5ergb(113 95 94)hsl(3 9% 41%)oklch(50.3% 0.023 21.7)2.35 AA 未満
明るいシアンcolor14#5c6f7drgb(92 111 125)hsl(205 15% 43%)oklch(53.1% 0.032 240.1)2.70 AA 未満
明るい白color15#ddcec2rgb(221 206 194)hsl(27 28% 81%)oklch(86.0% 0.023 61.2)9.19 AAA

traffic について

traffic はニュートラルのダーク背景(#272c30)を採用し、標準の前景色に #cfb9a8 を使ったターミナル配色です。本文の WCAG コントラスト比は 7.49:1(AAA)、12 色の ANSI カラーは平均 3.01:1、最小 2.11:1 です。

パレット全体は彩度が控えめで、赤 #934e46、緑 #637268、青 #515e67、マゼンタ #715f5e を基調としています。

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

traffic に似た配色

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