本文へスキップ

Twilight

Twilight はダーク系のターミナル配色(落ち着いた)。背景色 #141414、文字色 #ffffd4、コントラスト比 18.0:1

設定を取得
背景色
#141414
前景色
#ffffd4
文字のコントラスト
17.99:1AAA
アクセントのコントラスト
7.36:1最小 1.97
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
❯

Twilight の設定ファイル

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

Twilight

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

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

palette = 0=#141414
palette = 1=#c06d44
palette = 2=#afb97a
palette = 3=#c2a86c
palette = 4=#44474a
palette = 5=#b4be7c
palette = 6=#778385
palette = 7=#ffffd4
palette = 8=#262626
palette = 9=#de7c4c
palette = 10=#ccd88c
palette = 11=#e2c47e
palette = 12=#5a5e62
palette = 13=#d0dc8e
palette = 14=#8a989b
palette = 15=#ffffd4
background = #141414
foreground = #ffffd4
cursor-color = #ffffff
cursor-text = #000000
selection-background = #313131
selection-foreground = #ffffd4

Twilight のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#141414rgb(20 20 20)hsl(0 0% 8%)oklch(19.1% 0.000 0)—
前景色foreground#ffffd4rgb(255 255 212)hsl(60 100% 92%)oklch(98.9% 0.055 107.4)17.99 AAA
カーソルcursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.42 AAA
カーソルの文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.14 AA 未満
選択範囲selection#313131rgb(49 49 49)hsl(0 0% 19%)oklch(31.3% 0.000 0)1.42 AA 未満
選択範囲の文字selectionText#ffffd4rgb(255 255 212)hsl(60 100% 92%)oklch(98.9% 0.055 107.4)17.99 AAA
黒color0#141414rgb(20 20 20)hsl(0 0% 8%)oklch(19.1% 0.000 0)1.00 AA 未満
赤color1#c06d44rgb(192 109 68)hsl(20 50% 51%)oklch(62.0% 0.119 46.0)4.84 AA
緑color2#afb97argb(175 185 122)hsl(70 31% 60%)oklch(76.3% 0.085 115.8)8.81 AAA
黄color3#c2a86crgb(194 168 108)hsl(42 41% 59%)oklch(74.1% 0.084 86.9)7.99 AAA
青color4#44474argb(68 71 74)hsl(210 4% 28%)oklch(39.6% 0.006 248.0)1.97 AA 未満
マゼンタcolor5#b4be7crgb(180 190 124)hsl(69 34% 62%)oklch(77.8% 0.088 115.5)9.30 AAA
シアンcolor6#778385rgb(119 131 133)hsl(189 6% 49%)oklch(60.1% 0.014 208.7)4.71 AA
白color7#ffffd4rgb(255 255 212)hsl(60 100% 92%)oklch(98.9% 0.055 107.4)17.99 AAA
明るい黒color8#262626rgb(38 38 38)hsl(0 0% 15%)oklch(26.9% 0.000 0)1.22 AA 未満
明るい赤color9#de7c4crgb(222 124 76)hsl(20 69% 58%)oklch(68.6% 0.137 45.7)6.22 AA
明るい緑color10#ccd88crgb(204 216 140)hsl(69 49% 70%)oklch(85.5% 0.099 115.9)12.08 AAA
明るい黄color11#e2c47ergb(226 196 126)hsl(42 63% 69%)oklch(83.0% 0.095 87.1)10.91 AAA
明るい青color12#5a5e62rgb(90 94 98)hsl(210 4% 37%)oklch(48.0% 0.008 248.0)2.82 AA 未満
明るいマゼンタcolor13#d0dc8ergb(208 220 142)hsl(69 53% 71%)oklch(86.7% 0.101 115.7)12.55 AAA
明るいシアンcolor14#8a989brgb(138 152 155)hsl(191 8% 57%)oklch(66.9% 0.017 212.0)6.18 AA
明るい白color15#ffffd4rgb(255 255 212)hsl(60 100% 92%)oklch(98.9% 0.055 107.4)17.99 AAA

Twilight について

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

パレット全体は彩度が控えめで、赤 #c06d44、緑 #afb97a、青 #44474a、マゼンタ #b4be7c を基調としています。

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

Twilight に似た配色

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