本文へスキップ

Newton Contrast

Newton Contrast はダーク系のターミナル配色(ハイコントラスト)。背景色 #121014、文字色 #eaebff、コントラスト比 16.1:1

設定を取得
背景色
#121014
前景色
#eaebff
文字のコントラスト
16.06:1AAA
アクセントのコントラスト
9.93:1最小 2.87
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
❯

Newton Contrast の設定ファイル

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

Newton Contrast

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

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

palette = 0=#1f1b22
palette = 1=#ba0e2e
palette = 2=#fa824c
palette = 3=#ffbf69
palette = 4=#3c91e6
palette = 5=#fa824c
palette = 6=#ffbf69
palette = 7=#ffffff
palette = 8=#38323e
palette = 9=#e61f44
palette = 10=#fdc7af
palette = 11=#ffebcf
palette = 12=#96c4f2
palette = 13=#fdc7af
palette = 14=#ffebcf
palette = 15=#ffffff
background = #121014
foreground = #eaebff
cursor-color = #f8f8f0
cursor-text = #eaebff
selection-background = #ff5d38
selection-foreground = #ffffff

Newton Contrast のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#121014rgb(18 16 20)hsl(270 11% 7%)oklch(17.7% 0.009 307.9)—
前景色foreground#eaebffrgb(234 235 255)hsl(237 100% 96%)oklch(94.5% 0.027 283.6)16.06 AAA
カーソルcursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)17.73 AAA
カーソルの文字cursorText#eaebffrgb(234 235 255)hsl(237 100% 96%)oklch(94.5% 0.027 283.6)16.06 AAA
選択範囲selection#ff5d38rgb(255 93 56)hsl(11 100% 61%)oklch(68.8% 0.204 34.2)6.19 AA
選択範囲の文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.92 AAA
黒color0#1f1b22rgb(31 27 34)hsl(274 11% 12%)oklch(23.0% 0.015 310.7)1.12 AA 未満
赤color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.87 AA 未満
緑color2#fa824crgb(250 130 76)hsl(19 95% 64%)oklch(73.2% 0.162 43.6)7.53 AAA
黄color3#ffbf69rgb(255 191 105)hsl(34 100% 71%)oklch(84.6% 0.127 72.8)11.63 AAA
青color4#3c91e6rgb(60 145 230)hsl(210 77% 57%)oklch(64.6% 0.151 251.4)5.75 AA
マゼンタcolor5#fa824crgb(250 130 76)hsl(19 95% 64%)oklch(73.2% 0.162 43.6)7.53 AAA
シアンcolor6#ffbf69rgb(255 191 105)hsl(34 100% 71%)oklch(84.6% 0.127 72.8)11.63 AAA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.92 AAA
明るい黒color8#38323ergb(56 50 62)hsl(270 11% 22%)oklch(32.8% 0.022 307.7)1.53 AA 未満
明るい赤color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)4.18 AA(大きな文字)
明るい緑color10#fdc7afrgb(253 199 175)hsl(18 95% 84%)oklch(87.1% 0.070 45.2)12.58 AAA
明るい黄color11#ffebcfrgb(255 235 207)hsl(35 100% 91%)oklch(94.9% 0.043 76.4)16.25 AAA
明るい青color12#96c4f2rgb(150 196 242)hsl(210 78% 77%)oklch(80.4% 0.082 248.9)10.34 AAA
明るいマゼンタcolor13#fdc7afrgb(253 199 175)hsl(18 95% 84%)oklch(87.1% 0.070 45.2)12.58 AAA
明るいシアンcolor14#ffebcfrgb(255 235 207)hsl(35 100% 91%)oklch(94.9% 0.043 76.4)16.25 AAA
明るい白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.92 AAA

Newton Contrast について

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

パレット全体は適度な彩度で、赤 #ba0e2e、緑 #fa824c、青 #3c91e6、マゼンタ #fa824c を基調としています。

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

Newton Contrast に似た配色

データ出典:Rainglow (MIT)