本文へスキップ

Cool Night

Cool Night はダーク系のターミナル配色(ハイコントラスト・ビビッド)。背景色 #010c18、文字色 #ecdef4、コントラスト比 15.3:1

設定を取得
背景色
#010c18
前景色
#ecdef4
文字のコントラスト
15.30:1AAA
アクセントのコントラスト
9.96:1最小 4.67
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
❯

Cool Night の設定ファイル

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

Cool Night

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

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

palette = 0=#0b3b61
palette = 1=#ff3a3a
palette = 2=#52ffd0
palette = 3=#fff383
palette = 4=#1376f9
palette = 5=#c792ea
palette = 6=#ff5ed4
palette = 7=#16fda2
palette = 8=#63686d
palette = 9=#ff54b0
palette = 10=#74ffd8
palette = 11=#fcf5ae
palette = 12=#388eff
palette = 13=#ae81ff
palette = 14=#ff6ad7
palette = 15=#60fbbf
background = #010c18
foreground = #ecdef4
cursor-color = #38ff9d
cursor-text = #000000
selection-background = #38ff9c
selection-foreground = #000000

Cool Night のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#010c18rgb(1 12 24)hsl(211 92% 5%)oklch(14.9% 0.034 245.1)—
前景色foreground#ecdef4rgb(236 222 244)hsl(278 50% 91%)oklch(91.8% 0.033 313.5)15.30 AAA
カーソルcursor#38ff9drgb(56 255 157)hsl(150 100% 61%)oklch(88.4% 0.203 155.6)14.96 AAA
カーソルの文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.07 AA 未満
選択範囲selection#38ff9crgb(56 255 156)hsl(150 100% 61%)oklch(88.4% 0.204 155.4)14.95 AAA
選択範囲の文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.07 AA 未満
黒color0#0b3b61rgb(11 59 97)hsl(207 80% 21%)oklch(34.3% 0.083 247.8)1.70 AA 未満
赤color1#ff3a3argb(255 58 58)hsl(0 100% 61%)oklch(65.4% 0.232 26.5)5.55 AA
緑color2#52ffd0rgb(82 255 208)hsl(164 100% 66%)oklch(90.1% 0.155 170.8)15.53 AAA
黄color3#fff383rgb(255 243 131)hsl(54 100% 76%)oklch(95.1% 0.134 103.2)17.24 AAA
青color4#1376f9rgb(19 118 249)hsl(214 95% 53%)oklch(59.2% 0.213 258.5)4.67 AA
マゼンタcolor5#c792eargb(199 146 234)hsl(276 68% 75%)oklch(74.3% 0.135 311.1)8.18 AAA
シアンcolor6#ff5ed4rgb(255 94 212)hsl(316 100% 68%)oklch(72.8% 0.230 339.8)7.31 AAA
白color7#16fda2rgb(22 253 162)hsl(156 98% 54%)oklch(87.7% 0.202 158.1)14.63 AAA
明るい黒color8#63686drgb(99 104 109)hsl(210 5% 41%)oklch(51.5% 0.010 248.0)3.50 AA(大きな文字)
明るい赤color9#ff54b0rgb(255 84 176)hsl(328 100% 66%)oklch(70.4% 0.223 351.2)6.70 AA
明るい緑color10#74ffd8rgb(116 255 216)hsl(163 100% 73%)oklch(91.2% 0.134 172.1)15.97 AAA
明るい黄color11#fcf5aergb(252 245 174)hsl(55 93% 84%)oklch(95.9% 0.090 103.2)17.63 AAA
明るい青color12#388effrgb(56 142 255)hsl(214 100% 61%)oklch(65.3% 0.187 256.8)6.07 AA
明るいマゼンタcolor13#ae81ffrgb(174 129 255)hsl(261 100% 75%)oklch(70.1% 0.181 298.1)6.92 AA
明るいシアンcolor14#ff6ad7rgb(255 106 215)hsl(316 100% 71%)oklch(74.3% 0.216 339.4)7.77 AAA
明るい白color15#60fbbfrgb(96 251 191)hsl(157 95% 68%)oklch(89.0% 0.157 164.1)15.04 AAA

Cool Night について

Cool Night は寒色寄りのダーク背景(#010c18)を採用し、標準の前景色に #ecdef4 を使ったターミナル配色です。本文の WCAG コントラスト比は 15.30:1(AAA)、12 色の ANSI カラーは平均 9.96:1、最小 4.67:1 です。

パレット全体は彩度が高めで、赤 #ff3a3a、緑 #52ffd0、青 #1376f9、マゼンタ #c792ea を基調としています。

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

Cool Night に似た配色

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