本文へスキップ

Nighty

Nighty はダーク系のターミナル配色(ソフト)。背景色 #2f2f2f、文字色 #dfdfdf、コントラスト比 10.1:1

設定を取得
背景色
#2f2f2f
前景色
#dfdfdf
文字のコントラスト
10.05:1AAA
アクセントのコントラスト
3.70:1最小 1.26
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
❯

Nighty の設定ファイル

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

Nighty

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

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

palette = 0=#373d48
palette = 1=#9b3e46
palette = 2=#095b32
palette = 3=#808020
palette = 4=#1d3e6f
palette = 5=#823065
palette = 6=#3a7458
palette = 7=#828282
palette = 8=#5c6370
palette = 9=#d0555f
palette = 10=#119955
palette = 11=#dfe048
palette = 12=#4674b8
palette = 13=#ed86c9
palette = 14=#70d2a4
palette = 15=#dfdfdf
background = #2f2f2f
foreground = #dfdfdf
cursor-color = #dfdfdf
cursor-text = #2f2f2f
selection-background = #565656
selection-foreground = #dfdfdf

Nighty のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#2f2f2frgb(47 47 47)hsl(0 0% 18%)oklch(30.5% 0.000 0)—
前景色foreground#dfdfdfrgb(223 223 223)hsl(0 0% 87%)oklch(90.4% 0.000 0)10.05 AAA
カーソルcursor#dfdfdfrgb(223 223 223)hsl(0 0% 87%)oklch(90.4% 0.000 0)10.05 AAA
カーソルの文字cursorText#2f2f2frgb(47 47 47)hsl(0 0% 18%)oklch(30.5% 0.000 0)1.00 AA 未満
選択範囲selection#565656rgb(86 86 86)hsl(0 0% 34%)oklch(45.3% 0.000 0)1.82 AA 未満
選択範囲の文字selectionText#dfdfdfrgb(223 223 223)hsl(0 0% 87%)oklch(90.4% 0.000 0)10.05 AAA
黒color0#373d48rgb(55 61 72)hsl(219 13% 25%)oklch(35.9% 0.021 262.6)1.23 AA 未満
赤color1#9b3e46rgb(155 62 70)hsl(355 43% 43%)oklch(49.2% 0.124 17.7)2.02 AA 未満
緑color2#095b32rgb(9 91 50)hsl(150 82% 20%)oklch(41.5% 0.100 154.5)1.63 AA 未満
黄color3#808020rgb(128 128 32)hsl(60 60% 31%)oklch(58.2% 0.114 109.5)3.20 AA(大きな文字)
青color4#1d3e6frgb(29 62 111)hsl(216 59% 27%)oklch(36.7% 0.093 258.3)1.26 AA 未満
マゼンタcolor5#823065rgb(130 48 101)hsl(321 46% 35%)oklch(44.4% 0.129 344.0)1.63 AA 未満
シアンcolor6#3a7458rgb(58 116 88)hsl(151 33% 34%)oklch(51.1% 0.076 161.0)2.43 AA 未満
白color7#828282rgb(130 130 130)hsl(0 0% 51%)oklch(60.7% 0.000 0)3.48 AA(大きな文字)
明るい黒color8#5c6370rgb(92 99 112)hsl(219 10% 40%)oklch(49.8% 0.022 262.9)2.21 AA 未満
明るい赤color9#d0555frgb(208 85 95)hsl(355 57% 57%)oklch(61.1% 0.156 18.1)3.28 AA(大きな文字)
明るい緑color10#119955rgb(17 153 85)hsl(150 80% 33%)oklch(60.1% 0.148 153.8)3.64 AA(大きな文字)
明るい黄color11#dfe048rgb(223 224 72)hsl(60 71% 58%)oklch(87.9% 0.167 109.8)9.50 AAA
明るい青color12#4674b8rgb(70 116 184)hsl(216 45% 50%)oklch(55.8% 0.118 258.0)2.84 AA 未満
明るいマゼンタcolor13#ed86c9rgb(237 134 201)hsl(321 74% 73%)oklch(75.1% 0.149 341.8)5.65 AA
明るいシアンcolor14#70d2a4rgb(112 210 164)hsl(152 52% 63%)oklch(79.1% 0.115 161.8)7.30 AAA
明るい白color15#dfdfdfrgb(223 223 223)hsl(0 0% 87%)oklch(90.4% 0.000 0)10.05 AAA

Nighty について

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

パレット全体は適度な彩度で、赤 #9b3e46、緑 #095b32、青 #1d3e6f、マゼンタ #823065 を基調としています。

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

Nighty に似た配色

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