本文へスキップ

Sonokai

Sonokai はダーク系のターミナル配色。背景色 #2c2e34、文字色 #e2e2e3、コントラスト比 10.5:1

設定を取得
背景色
#2c2e34
前景色
#e2e2e3
文字のコントラスト
10.48:1AAA
アクセントのコントラスト
6.60:1最小 4.52
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
❯

Sonokai の設定ファイル

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

Sonokai

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

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

palette = 0=#181819
palette = 1=#fc5d7c
palette = 2=#9ed072
palette = 3=#e7c664
palette = 4=#76cce0
palette = 5=#b39df3
palette = 6=#f39660
palette = 7=#e2e2e3
palette = 8=#7f8490
palette = 9=#fc5d7c
palette = 10=#9ed072
palette = 11=#e7c664
palette = 12=#76cce0
palette = 13=#b39df3
palette = 14=#f39660
palette = 15=#e2e2e3
background = #2c2e34
foreground = #e2e2e3
cursor-color = #e2e2e3
cursor-text = #2c2e34
selection-background = #414550
selection-foreground = #e2e2e3

Sonokai のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#2c2e34rgb(44 46 52)hsl(225 8% 19%)oklch(30.2% 0.011 271.0)—
前景色foreground#e2e2e3rgb(226 226 227)hsl(240 2% 89%)oklch(91.3% 0.001 286.4)10.48 AAA
カーソルcursor#e2e2e3rgb(226 226 227)hsl(240 2% 89%)oklch(91.3% 0.001 286.4)10.48 AAA
カーソルの文字cursorText#2c2e34rgb(44 46 52)hsl(225 8% 19%)oklch(30.2% 0.011 271.0)1.00 AA 未満
選択範囲selection#414550rgb(65 69 80)hsl(224 10% 28%)oklch(39.1% 0.019 269.6)1.42 AA 未満
選択範囲の文字selectionText#e2e2e3rgb(226 226 227)hsl(240 2% 89%)oklch(91.3% 0.001 286.4)10.48 AAA
黒color0#181819rgb(24 24 25)hsl(240 2% 10%)oklch(20.9% 0.002 286.2)1.31 AA 未満
赤color1#fc5d7crgb(252 93 124)hsl(348 96% 68%)oklch(69.4% 0.194 12.0)4.52 AA
緑color2#9ed072rgb(158 208 114)hsl(92 50% 63%)oklch(80.1% 0.134 131.7)7.57 AAA
黄color3#e7c664rgb(231 198 100)hsl(45 73% 65%)oklch(83.6% 0.123 91.0)8.18 AAA
青color4#76cce0rgb(118 204 224)hsl(191 63% 67%)oklch(79.8% 0.088 214.4)7.42 AAA
マゼンタcolor5#b39df3rgb(179 157 243)hsl(255 78% 78%)oklch(74.8% 0.123 295.0)5.84 AA
シアンcolor6#f39660rgb(243 150 96)hsl(22 86% 66%)oklch(75.8% 0.132 49.9)6.04 AA
白color7#e2e2e3rgb(226 226 227)hsl(240 2% 89%)oklch(91.3% 0.001 286.4)10.48 AAA
明るい黒color8#7f8490rgb(127 132 144)hsl(222 7% 53%)oklch(61.3% 0.019 267.7)3.62 AA(大きな文字)
明るい赤color9#fc5d7crgb(252 93 124)hsl(348 96% 68%)oklch(69.4% 0.194 12.0)4.52 AA
明るい緑color10#9ed072rgb(158 208 114)hsl(92 50% 63%)oklch(80.1% 0.134 131.7)7.57 AAA
明るい黄color11#e7c664rgb(231 198 100)hsl(45 73% 65%)oklch(83.6% 0.123 91.0)8.18 AAA
明るい青color12#76cce0rgb(118 204 224)hsl(191 63% 67%)oklch(79.8% 0.088 214.4)7.42 AAA
明るいマゼンタcolor13#b39df3rgb(179 157 243)hsl(255 78% 78%)oklch(74.8% 0.123 295.0)5.84 AA
明るいシアンcolor14#f39660rgb(243 150 96)hsl(22 86% 66%)oklch(75.8% 0.132 49.9)6.04 AA
明るい白color15#e2e2e3rgb(226 226 227)hsl(240 2% 89%)oklch(91.3% 0.001 286.4)10.48 AAA

Sonokai について

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

パレット全体は適度な彩度で、赤 #fc5d7c、緑 #9ed072、青 #76cce0、マゼンタ #b39df3 を基調としています。Monokai テーマファミリーに属する配色です。

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

Sonokai に似た配色

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