本文へスキップ

Hocus Pocus

Hocus Pocus はダーク系のターミナル配色(パステル・寒色)。背景色 #431455、文字色 #f6edff、コントラスト比 12.6:1

設定を取得
背景色
#431455
前景色
#f6edff
文字のコントラスト
12.57:1AAA
アクセントのコントラスト
7.69:1最小 5.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
❯

Hocus Pocus の設定ファイル

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

Hocus Pocus

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

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

palette = 0=#c2b1ca
palette = 1=#f18b8c
palette = 2=#9bd674
palette = 3=#e9c657
palette = 4=#8fc1e8
palette = 5=#d187e4
palette = 6=#7bd3d1
palette = 7=#f6edff
palette = 8=#c9bad0
palette = 9=#f3999a
palette = 10=#a7db85
palette = 11=#eccd6b
palette = 12=#9cc8eb
palette = 13=#d795e7
palette = 14=#8bd8d7
palette = 15=#f7efff
background = #431455
foreground = #f6edff
cursor-color = #f3999a
cursor-text = #431455
selection-background = #c9bad0
selection-foreground = #918999

Hocus Pocus のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#431455rgb(67 20 85)hsl(283 62% 21%)oklch(30.1% 0.116 314.9)—
前景色foreground#f6edffrgb(246 237 255)hsl(270 100% 96%)oklch(95.8% 0.026 308.2)12.57 AAA
カーソルcursor#f3999argb(243 153 154)hsl(359 79% 78%)oklch(77.5% 0.108 19.1)6.69 AA
カーソルの文字cursorText#431455rgb(67 20 85)hsl(283 62% 21%)oklch(30.1% 0.116 314.9)1.00 AA 未満
選択範囲selection#c9bad0rgb(201 186 208)hsl(281 19% 77%)oklch(80.8% 0.035 315.2)7.77 AAA
選択範囲の文字selectionText#918999rgb(145 137 153)hsl(270 7% 57%)oklch(64.2% 0.025 308.0)4.25 AA(大きな文字)
黒color0#c2b1cargb(194 177 202)hsl(281 19% 74%)oklch(78.3% 0.040 315.1)7.10 AAA
赤color1#f18b8crgb(241 139 140)hsl(359 78% 75%)oklch(74.6% 0.124 19.8)5.99 AA
緑color2#9bd674rgb(155 214 116)hsl(96 54% 65%)oklch(81.3% 0.143 134.1)8.34 AAA
黄color3#e9c657rgb(233 198 87)hsl(46 77% 63%)oklch(83.6% 0.134 91.7)8.63 AAA
青color4#8fc1e8rgb(143 193 232)hsl(206 66% 74%)oklch(79.0% 0.077 242.4)7.46 AAA
マゼンタcolor5#d187e4rgb(209 135 228)hsl(288 63% 71%)oklch(73.2% 0.151 319.2)5.64 AA
シアンcolor6#7bd3d1rgb(123 211 209)hsl(179 50% 65%)oklch(81.1% 0.085 193.7)8.22 AAA
白color7#f6edffrgb(246 237 255)hsl(270 100% 96%)oklch(95.8% 0.026 308.2)12.57 AAA
明るい黒color8#c9bad0rgb(201 186 208)hsl(281 19% 77%)oklch(80.8% 0.035 315.2)7.77 AAA
明るい赤color9#f3999argb(243 153 154)hsl(359 79% 78%)oklch(77.5% 0.108 19.1)6.69 AA
明るい緑color10#a7db85rgb(167 219 133)hsl(96 54% 69%)oklch(83.5% 0.126 133.8)8.92 AAA
明るい黄color11#eccd6brgb(236 205 107)hsl(46 77% 67%)oklch(85.5% 0.123 92.1)9.19 AAA
明るい青color12#9cc8ebrgb(156 200 235)hsl(207 66% 77%)oklch(81.4% 0.068 242.6)8.08 AAA
明るいマゼンタcolor13#d795e7rgb(215 149 231)hsl(288 63% 75%)oklch(76.3% 0.134 319.6)6.36 AA
明るいシアンcolor14#8bd8d7rgb(139 216 215)hsl(179 50% 70%)oklch(83.2% 0.076 194.7)8.78 AAA
明るい白color15#f7efffrgb(247 239 255)hsl(270 100% 97%)oklch(96.3% 0.023 308.2)12.75 AAA

Hocus Pocus について

Hocus Pocus は寒色寄りのダーク背景(#431455)を採用し、標準の前景色に #f6edff を使ったターミナル配色です。本文の WCAG コントラスト比は 12.57:1(AAA)、12 色の ANSI カラーは平均 7.69:1、最小 5.64:1 です。

パレット全体は適度な彩度で、赤 #f18b8c、緑 #9bd674、青 #8fc1e8、マゼンタ #d187e4 を基調としています。

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

Hocus Pocus に似た配色

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