本文へスキップ

Tokyo Night Dark

Tokyo Night Dark はダーク系のターミナル配色(寒色)。背景色 #1a1b26、文字色 #a9b1d6、コントラスト比 8.1:1

設定を取得
背景色
#1a1b26
前景色
#a9b1d6
文字のコントラスト
8.10:1AAA
アクセントのコントラスト
9.28:1最小 6.88
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
❯

Tokyo Night Dark の設定ファイル

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

Tokyo Night Dark

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

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

palette = 0=#1a1b26
palette = 1=#c0caf5
palette = 2=#9ece6a
palette = 3=#0db9d7
palette = 4=#2ac3de
palette = 5=#bb9af7
palette = 6=#b4f9f8
palette = 7=#a9b1d6
palette = 8=#444b6a
palette = 9=#ff7a93
palette = 10=#73daca
palette = 11=#ff9e64
palette = 12=#89ddff
palette = 13=#bb9af7
palette = 14=#7dcfff
palette = 15=#d5d6db
background = #1a1b26
foreground = #a9b1d6
cursor-color = #a9b1d6
cursor-text = #1a1b26
selection-background = #3a3c4d
selection-foreground = #a9b1d6

Tokyo Night Dark のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#1a1b26rgb(26 27 38)hsl(235 19% 13%)oklch(22.6% 0.021 280.5)—
前景色foreground#a9b1d6rgb(169 177 214)hsl(229 35% 75%)oklch(76.7% 0.054 275.5)8.10 AAA
カーソルcursor#a9b1d6rgb(169 177 214)hsl(229 35% 75%)oklch(76.7% 0.054 275.5)8.10 AAA
カーソルの文字cursorText#1a1b26rgb(26 27 38)hsl(235 19% 13%)oklch(22.6% 0.021 280.5)1.00 AA 未満
選択範囲selection#3a3c4drgb(58 60 77)hsl(234 14% 26%)oklch(36.1% 0.029 279.6)1.57 AA 未満
選択範囲の文字selectionText#a9b1d6rgb(169 177 214)hsl(229 35% 75%)oklch(76.7% 0.054 275.5)8.10 AAA
黒color0#1a1b26rgb(26 27 38)hsl(235 19% 13%)oklch(22.6% 0.021 280.5)1.00 AA 未満
赤color1#c0caf5rgb(192 202 245)hsl(229 73% 86%)oklch(84.6% 0.061 274.8)10.59 AAA
緑color2#9ece6argb(158 206 106)hsl(89 51% 61%)oklch(79.5% 0.139 130.1)9.35 AAA
黄color3#0db9d7rgb(13 185 215)hsl(189 89% 45%)oklch(72.4% 0.126 215.1)7.27 AAA
青color4#2ac3dergb(42 195 222)hsl(189 73% 52%)oklch(75.4% 0.124 213.2)8.11 AAA
マゼンタcolor5#bb9af7rgb(187 154 247)hsl(261 85% 79%)oklch(75.1% 0.134 299.5)7.39 AAA
シアンcolor6#b4f9f8rgb(180 249 248)hsl(179 85% 84%)oklch(93.6% 0.068 194.9)14.52 AAA
白color7#a9b1d6rgb(169 177 214)hsl(229 35% 75%)oklch(76.7% 0.054 275.5)8.10 AAA
明るい黒color8#444b6argb(68 75 106)hsl(229 22% 34%)oklch(42.0% 0.053 274.1)2.00 AA 未満
明るい赤color9#ff7a93rgb(255 122 147)hsl(349 100% 74%)oklch(74.0% 0.163 10.2)6.88 AA
明るい緑color10#73dacargb(115 218 202)hsl(171 58% 65%)oklch(82.2% 0.100 182.5)10.26 AAA
明るい黄color11#ff9e64rgb(255 158 100)hsl(22 100% 70%)oklch(78.7% 0.137 50.6)8.40 AAA
明るい青color12#89ddffrgb(137 221 255)hsl(197 100% 77%)oklch(85.6% 0.094 225.9)11.27 AAA
明るいマゼンタcolor13#bb9af7rgb(187 154 247)hsl(261 85% 79%)oklch(75.1% 0.134 299.5)7.39 AAA
明るいシアンcolor14#7dcfffrgb(125 207 255)hsl(202 100% 75%)oklch(82.0% 0.105 235.7)9.96 AAA
明るい白color15#d5d6dbrgb(213 214 219)hsl(230 8% 85%)oklch(87.7% 0.007 277.2)11.78 AAA

Tokyo Night Dark について

Tokyo Night Dark は寒色寄りのダーク背景(#1a1b26)を採用し、標準の前景色に #a9b1d6 を使ったターミナル配色です。本文の WCAG コントラスト比は 8.10:1(AAA)、12 色の ANSI カラーは平均 9.28:1、最小 6.88:1 です。

パレット全体は適度な彩度で、赤 #c0caf5、緑 #9ece6a、青 #2ac3de、マゼンタ #bb9af7 を基調としています。Tokyo Night テーマファミリーに属する配色です。

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

Tokyo Night Dark に似た配色

データ出典:Gogh (MIT OR Apache-2.0)