本文へスキップ

Tonic

Tonic はダーク系のターミナル配色。背景色 #2a2f31、文字色 #eeeeee、コントラスト比 11.7:1

設定を取得
背景色
#2a2f31
前景色
#eeeeee
文字のコントラスト
11.68:1AAA
アクセントのコントラスト
6.84:1最小 2.06
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
❯

Tonic の設定ファイル

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

Tonic

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

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

palette = 0=#363c3f
palette = 1=#ba0e2e
palette = 2=#75a1a4
palette = 3=#b8cd44
palette = 4=#fd9f59
palette = 5=#ef6e44
palette = 6=#b8cd44
palette = 7=#fbfbfb
palette = 8=#4d575a
palette = 9=#e61f44
palette = 10=#b2cbcd
palette = 11=#d7e394
palette = 12=#fed9be
palette = 13=#f7b7a2
palette = 14=#d7e394
palette = 15=#ffffff
background = #2a2f31
foreground = #eeeeee
cursor-color = #f8f8f0
cursor-text = #eeeeee
selection-background = #75a1a4
selection-foreground = #ffffff

Tonic のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#2a2f31rgb(42 47 49)hsl(197 8% 18%)oklch(30.1% 0.008 223.7)—
前景色foreground#eeeeeergb(238 238 238)hsl(0 0% 93%)oklch(94.9% 0.000 0)11.68 AAA
カーソルcursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)12.70 AAA
カーソルの文字cursorText#eeeeeergb(238 238 238)hsl(0 0% 93%)oklch(94.9% 0.000 0)11.68 AAA
選択範囲selection#75a1a4rgb(117 161 164)hsl(184 21% 55%)oklch(67.8% 0.048 201.4)4.77 AA
選択範囲の文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.55 AAA
黒color0#363c3frgb(54 60 63)hsl(200 8% 23%)oklch(35.2% 0.010 229.1)1.21 AA 未満
赤color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.06 AA 未満
緑color2#75a1a4rgb(117 161 164)hsl(184 21% 55%)oklch(67.8% 0.048 201.4)4.77 AA
黄color3#b8cd44rgb(184 205 68)hsl(69 58% 54%)oklch(80.7% 0.160 117.6)7.65 AAA
青color4#fd9f59rgb(253 159 89)hsl(26 98% 67%)oklch(78.5% 0.141 55.6)6.63 AA
マゼンタcolor5#ef6e44rgb(239 110 68)hsl(15 84% 60%)oklch(68.7% 0.169 38.3)4.51 AA
シアンcolor6#b8cd44rgb(184 205 68)hsl(69 58% 54%)oklch(80.7% 0.160 117.6)7.65 AAA
白color7#fbfbfbrgb(251 251 251)hsl(0 0% 98%)oklch(98.8% 0.000 0)13.10 AAA
明るい黒color8#4d575argb(77 87 90)hsl(194 8% 33%)oklch(44.9% 0.014 217.7)1.82 AA 未満
明るい赤color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)3.00 AA 未満
明るい緑color10#b2cbcdrgb(178 203 205)hsl(184 21% 75%)oklch(82.4% 0.027 202.5)7.95 AAA
明るい黄color11#d7e394rgb(215 227 148)hsl(69 59% 74%)oklch(88.9% 0.102 115.6)9.88 AAA
明るい青color12#fed9bergb(254 217 190)hsl(25 97% 87%)oklch(91.0% 0.055 58.1)10.25 AAA
明るいマゼンタcolor13#f7b7a2rgb(247 183 162)hsl(15 84% 80%)oklch(83.3% 0.080 38.9)7.91 AAA
明るいシアンcolor14#d7e394rgb(215 227 148)hsl(69 59% 74%)oklch(88.9% 0.102 115.6)9.88 AAA
明るい白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.55 AAA

Tonic について

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

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

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

Tonic に似た配色

データ出典:Rainglow (MIT)