本文へスキップ

Square

Square はダーク系のターミナル配色。背景色 #1a1a1a、文字色 #acacab、コントラスト比 7.7:1

設定を取得
背景色
#1a1a1a
前景色
#acacab
文字のコントラスト
7.66:1AAA
アクセントのコントラスト
9.74:1最小 2.64
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
❯

Square の設定ファイル

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

Square

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

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

palette = 0=#050505
palette = 1=#e9897c
palette = 2=#b6377d
palette = 3=#ecebbe
palette = 4=#a9cdeb
palette = 5=#75507b
palette = 6=#c9caec
palette = 7=#f2f2f2
palette = 8=#141414
palette = 9=#f99286
palette = 10=#c3f786
palette = 11=#fcfbcc
palette = 12=#b6defb
palette = 13=#ad7fa8
palette = 14=#d7d9fc
palette = 15=#e2e2e2
background = #1a1a1a
foreground = #acacab
cursor-color = #fcfbcc
cursor-text = #000000
selection-background = #4d4d4d
selection-foreground = #ffffff

Square のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)—
前景色foreground#acacabrgb(172 172 171)hsl(60 1% 67%)oklch(74.4% 0.001 106.4)7.66 AAA
カーソルcursor#fcfbccrgb(252 251 204)hsl(59 89% 89%)oklch(97.7% 0.061 106.5)16.42 AAA
カーソルの文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.21 AA 未満
選択範囲selection#4d4d4drgb(77 77 77)hsl(0 0% 30%)oklch(42.0% 0.000 0)2.06 AA 未満
選択範囲の文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.40 AAA
黒color0#050505rgb(5 5 5)hsl(0 0% 2%)oklch(11.5% 0.000 0)1.17 AA 未満
赤color1#e9897crgb(233 137 124)hsl(7 71% 70%)oklch(72.9% 0.120 28.5)6.91 AA
緑color2#b6377drgb(182 55 125)hsl(327 54% 46%)oklch(54.4% 0.176 350.6)3.18 AA(大きな文字)
黄color3#ecebbergb(236 235 190)hsl(59 55% 84%)oklch(93.0% 0.059 106.4)14.25 AAA
青color4#a9cdebrgb(169 205 235)hsl(207 62% 79%)oklch(83.2% 0.057 243.6)10.46 AAA
マゼンタcolor5#75507brgb(117 80 123)hsl(292 21% 40%)oklch(48.8% 0.080 321.8)2.64 AA 未満
シアンcolor6#c9caecrgb(201 202 236)hsl(238 48% 86%)oklch(84.9% 0.047 284.0)10.89 AAA
白color7#f2f2f2rgb(242 242 242)hsl(0 0% 95%)oklch(96.1% 0.000 0)15.55 AAA
明るい黒color8#141414rgb(20 20 20)hsl(0 0% 8%)oklch(19.1% 0.000 0)1.06 AA 未満
明るい赤color9#f99286rgb(249 146 134)hsl(6 91% 75%)oklch(76.6% 0.127 27.4)7.86 AAA
明るい緑color10#c3f786rgb(195 247 134)hsl(88 88% 75%)oklch(91.6% 0.152 129.3)14.06 AAA
明るい黄color11#fcfbccrgb(252 251 204)hsl(59 89% 89%)oklch(97.7% 0.061 106.5)16.42 AAA
明るい青color12#b6defbrgb(182 222 251)hsl(205 90% 85%)oklch(88.2% 0.058 239.8)12.29 AAA
明るいマゼンタcolor13#ad7fa8rgb(173 127 168)hsl(307 22% 59%)oklch(65.5% 0.080 330.2)5.29 AA
明るいシアンcolor14#d7d9fcrgb(215 217 252)hsl(237 86% 92%)oklch(89.5% 0.048 282.8)12.61 AAA
明るい白color15#e2e2e2rgb(226 226 226)hsl(0 0% 89%)oklch(91.3% 0.000 0)13.43 AAA

Square について

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

パレット全体は適度な彩度で、赤 #e9897c、緑 #b6377d、青 #a9cdeb、マゼンタ #75507b を基調としています。

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

Square に似た配色

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