本文へスキップ

Safety Glass

Safety Glass はライト系のターミナル配色。背景色 #f2fbfa、文字色 #142322、コントラスト比 15.4:1

設定を取得
背景色
#f2fbfa
前景色
#142322
文字のコントラスト
15.43:1AAA
アクセントのコントラスト
8.30:1最小 7.05
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
❯

Safety Glass の設定ファイル

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

Safety Glass

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

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

palette = 0=#293837
palette = 1=#842424
palette = 2=#125a37
palette = 3=#634c00
palette = 4=#17458b
palette = 5=#5e3186
palette = 6=#005866
palette = 7=#394847
palette = 8=#465554
palette = 9=#902a2a
palette = 10=#17603d
palette = 11=#6b5200
palette = 12=#123a78
palette = 13=#65388e
palette = 14=#004b57
palette = 15=#414f4e
background = #f2fbfa
foreground = #142322
cursor-color = #176d67
cursor-text = #f2fbfa
selection-background = #d7ebe8
selection-foreground = #142322

Safety Glass のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#f2fbfargb(242 251 250)hsl(173 53% 97%)oklch(98.1% 0.010 189.1)—
前景色foreground#142322rgb(20 35 34)hsl(176 27% 11%)oklch(24.2% 0.021 190.6)15.43 AAA
カーソルcursor#176d67rgb(23 109 103)hsl(176 65% 26%)oklch(48.5% 0.078 187.8)5.84 AA
カーソルの文字cursorText#f2fbfargb(242 251 250)hsl(173 53% 97%)oklch(98.1% 0.010 189.1)1.00 AA 未満
選択範囲selection#d7ebe8rgb(215 235 232)hsl(171 33% 88%)oklch(92.4% 0.022 186.0)1.18 AA 未満
選択範囲の文字selectionText#142322rgb(20 35 34)hsl(176 27% 11%)oklch(24.2% 0.021 190.6)15.43 AAA
黒color0#293837rgb(41 56 55)hsl(176 15% 19%)oklch(32.7% 0.020 191.1)11.63 AAA
赤color1#842424rgb(132 36 36)hsl(0 57% 33%)oklch(41.4% 0.131 25.0)8.83 AAA
緑color2#125a37rgb(18 90 55)hsl(151 67% 21%)oklch(41.5% 0.090 156.8)7.85 AAA
黄color3#634c00rgb(99 76 0)hsl(46 100% 19%)oklch(42.9% 0.088 88.6)7.78 AAA
青color4#17458brgb(23 69 139)hsl(216 72% 32%)oklch(40.2% 0.127 259.0)8.83 AAA
マゼンタcolor5#5e3186rgb(94 49 134)hsl(272 46% 36%)oklch(41.4% 0.139 305.5)8.83 AAA
シアンcolor6#005866rgb(0 88 102)hsl(188 100% 20%)oklch(42.3% 0.074 213.2)7.71 AAA
白color7#394847rgb(57 72 71)hsl(176 12% 25%)oklch(38.8% 0.019 191.4)9.10 AAA
明るい黒color8#465554rgb(70 85 84)hsl(176 10% 30%)oklch(43.6% 0.019 191.5)7.42 AAA
明るい赤color9#902a2argb(144 42 42)hsl(0 55% 36%)oklch(44.3% 0.137 24.7)7.82 AAA
明るい緑color10#17603drgb(23 96 61)hsl(151 61% 23%)oklch(43.5% 0.091 157.6)7.19 AAA
明るい黄color11#6b5200rgb(107 82 0)hsl(46 100% 21%)oklch(45.2% 0.092 88.2)7.05 AAA
明るい青color12#123a78rgb(18 58 120)hsl(216 74% 27%)oklch(36.0% 0.115 259.3)10.49 AAA
明るいマゼンタcolor13#65388ergb(101 56 142)hsl(271 43% 39%)oklch(43.8% 0.140 305.5)7.95 AAA
明るいシアンcolor14#004b57rgb(0 75 87)hsl(188 100% 17%)oklch(37.9% 0.066 212.9)9.31 AAA
明るい白color15#414f4ergb(65 79 78)hsl(176 10% 28%)oklch(41.5% 0.018 191.2)8.13 AAA

Safety Glass について

Safety Glass はニュートラルのライト背景(#f2fbfa)を採用し、標準の前景色に #142322 を使ったターミナル配色です。本文の WCAG コントラスト比は 15.43:1(AAA)、12 色の ANSI カラーは平均 8.30:1、最小 7.05:1 です。

パレット全体は適度な彩度で、赤 #842424、緑 #125a37、青 #17458b、マゼンタ #5e3186 を基調としています。

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

Safety Glass に似た配色

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