本文へスキップ

iTerm2 Dark Background

iTerm2 Dark Background はダーク系のターミナル配色(トゥルーブラック・ビビッド)。背景色 #000000、文字色 #c7c7c7、コントラスト比 12.4:1

設定を取得
背景色
#000000
前景色
#c7c7c7
文字のコントラスト
12.42:1AAA
アクセントのコントラスト
9.54:1最小 2.09
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
❯

iTerm2 Dark Background の設定ファイル

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

iTerm2 Dark Background

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

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

palette = 0=#000000
palette = 1=#c91b00
palette = 2=#00c200
palette = 3=#c7c400
palette = 4=#0225c7
palette = 5=#ca30c7
palette = 6=#00c5c7
palette = 7=#c7c7c7
palette = 8=#686868
palette = 9=#ff6e67
palette = 10=#5ffa68
palette = 11=#fffc67
palette = 12=#6871ff
palette = 13=#ff77ff
palette = 14=#60fdff
palette = 15=#ffffff
background = #000000
foreground = #c7c7c7
cursor-color = #c7c7c7
cursor-text = #ffffff
selection-background = #c1deff
selection-foreground = #000000

iTerm2 Dark Background のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#c7c7c7rgb(199 199 199)hsl(0 0% 78%)oklch(83.0% 0.000 0)12.42 AAA
カーソルcursor#c7c7c7rgb(199 199 199)hsl(0 0% 78%)oklch(83.0% 0.000 0)12.42 AAA
カーソルの文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
選択範囲selection#c1deffrgb(193 222 255)hsl(212 100% 88%)oklch(89.0% 0.055 251.8)15.16 AAA
選択範囲の文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 AA 未満
黒color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 AA 未満
赤color1#c91b00rgb(201 27 0)hsl(8 100% 39%)oklch(53.4% 0.207 31.1)3.64 AA(大きな文字)
緑color2#00c200rgb(0 194 0)hsl(120 100% 38%)oklch(70.5% 0.240 142.5)8.72 AAA
黄color3#c7c400rgb(199 196 0)hsl(59 100% 39%)oklch(79.7% 0.172 108.6)11.32 AAA
青color4#0225c7rgb(2 37 199)hsl(229 98% 39%)oklch(40.2% 0.242 264.3)2.09 AA 未満
マゼンタcolor5#ca30c7rgb(202 48 199)hsl(301 62% 49%)oklch(60.5% 0.244 329.0)4.76 AA
シアンcolor6#00c5c7rgb(0 197 199)hsl(181 100% 39%)oklch(74.6% 0.127 196.1)9.81 AAA
白color7#c7c7c7rgb(199 199 199)hsl(0 0% 78%)oklch(83.0% 0.000 0)12.42 AAA
明るい黒color8#686868rgb(104 104 104)hsl(0 0% 41%)oklch(51.7% 0.000 0)3.77 AA(大きな文字)
明るい赤color9#ff6e67rgb(255 110 103)hsl(3 100% 70%)oklch(71.5% 0.178 25.4)7.68 AAA
明るい緑color10#5ffa68rgb(95 250 104)hsl(123 94% 68%)oklch(87.3% 0.230 144.2)15.36 AAA
明るい黄color11#fffc67rgb(255 252 103)hsl(59 100% 70%)oklch(96.6% 0.168 108.1)19.37 AAA
明るい青color12#6871ffrgb(104 113 255)hsl(236 100% 70%)oklch(61.8% 0.208 275.8)5.39 AA
明るいマゼンタcolor13#ff77ffrgb(255 119 255)hsl(300 100% 73%)oklch(77.6% 0.228 327.5)9.33 AAA
明るいシアンcolor14#60fdffrgb(96 253 255)hsl(181 100% 69%)oklch(91.3% 0.130 196.3)16.99 AAA
明るい白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA

iTerm2 Dark Background について

iTerm2 Dark Background はニュートラルのダーク背景(#000000)を採用し、標準の前景色に #c7c7c7 を使ったターミナル配色です。本文の WCAG コントラスト比は 12.42:1(AAA)、12 色の ANSI カラーは平均 9.54:1、最小 2.09:1 です。

パレット全体は彩度が高めで、赤 #c91b00、緑 #00c200、青 #0225c7、マゼンタ #ca30c7 を基調としています。iTerm2 Built-in テーマファミリーに属する配色です。

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

iTerm2 Dark Background に似た配色

データ出典:iTerm2 Color Schemes (GPL-2.0-or-later)