本文へスキップ

Trick or Treat

Trick or Treat はダーク系のターミナル配色(パステル・寒色)。背景色 #40145f、文字色 #fff0e3、コントラスト比 12.7:1

設定を取得
背景色
#40145f
前景色
#fff0e3
文字のコントラスト
12.69:1AAA
アクセントのコントラスト
8.55:1最小 6.12
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
❯

Trick or Treat の設定ファイル

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

Trick or Treat

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

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

palette = 0=#bbaec8
palette = 1=#ff8b82
palette = 2=#a8dc72
palette = 3=#f8c94e
palette = 4=#8fc9f2
palette = 5=#e78bd8
palette = 6=#78dce1
palette = 7=#fff0e3
palette = 8=#cec1da
palette = 9=#ffa5a0
palette = 10=#bde88d
palette = 11=#fbdc72
palette = 12=#acd9f7
palette = 13=#efaae3
palette = 14=#99e7ea
palette = 15=#fffaf2
background = #40145f
foreground = #fff0e3
cursor-color = #ff65bd
cursor-text = #40145f
selection-background = #642b82
selection-foreground = #fff9f0

Trick or Treat のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#40145frgb(64 20 95)hsl(275 65% 23%)oklch(30.5% 0.126 307.1)—
前景色foreground#fff0e3rgb(255 240 227)hsl(28 100% 95%)oklch(96.3% 0.024 63.5)12.69 AAA
カーソルcursor#ff65bdrgb(255 101 189)hsl(326 100% 70%)oklch(72.7% 0.207 348.1)5.29 AA
カーソルの文字cursorText#40145frgb(64 20 95)hsl(275 65% 23%)oklch(30.5% 0.126 307.1)1.00 AA 未満
選択範囲selection#642b82rgb(100 43 130)hsl(279 50% 34%)oklch(41.0% 0.145 311.8)1.49 AA 未満
選択範囲の文字selectionText#fff9f0rgb(255 249 240)hsl(36 100% 97%)oklch(98.4% 0.014 78.3)13.52 AAA
黒color0#bbaec8rgb(187 174 200)hsl(270 19% 73%)oklch(77.0% 0.039 307.9)6.74 AA
赤color1#ff8b82rgb(255 139 130)hsl(4 100% 75%)oklch(76.1% 0.142 25.6)6.25 AA
緑color2#a8dc72rgb(168 220 114)hsl(89 60% 65%)oklch(83.5% 0.147 130.5)8.86 AAA
黄color3#f8c94ergb(248 201 78)hsl(43 92% 64%)oklch(85.6% 0.147 87.6)9.07 AAA
青color4#8fc9f2rgb(143 201 242)hsl(205 79% 75%)oklch(81.1% 0.083 239.9)7.96 AAA
マゼンタcolor5#e78bd8rgb(231 139 216)hsl(310 66% 73%)oklch(75.8% 0.147 333.1)6.12 AA
シアンcolor6#78dce1rgb(120 220 225)hsl(183 64% 68%)oklch(83.6% 0.094 199.8)8.85 AAA
白color7#fff0e3rgb(255 240 227)hsl(28 100% 95%)oklch(96.3% 0.024 63.5)12.69 AAA
明るい黒color8#cec1dargb(206 193 218)hsl(271 25% 81%)oklch(82.9% 0.037 308.8)8.27 AAA
明るい赤color9#ffa5a0rgb(255 165 160)hsl(3 100% 81%)oklch(81.0% 0.108 23.2)7.51 AAA
明るい緑color10#bde88drgb(189 232 141)hsl(88 66% 73%)oklch(88.0% 0.126 129.3)10.17 AAA
明るい黄color11#fbdc72rgb(251 220 114)hsl(46 94% 72%)oklch(89.9% 0.130 93.3)10.50 AAA
明るい青color12#acd9f7rgb(172 217 247)hsl(204 82% 82%)oklch(86.4% 0.063 237.6)9.45 AAA
明るいマゼンタcolor13#efaae3rgb(239 170 227)hsl(310 68% 80%)oklch(82.1% 0.109 332.8)7.77 AAA
明るいシアンcolor14#99e7eargb(153 231 234)hsl(182 66% 76%)oklch(87.9% 0.077 198.9)10.09 AAA
明るい白color15#fffaf2rgb(255 250 242)hsl(37 100% 97%)oklch(98.7% 0.012 79.8)13.62 AAA

Trick or Treat について

Trick or Treat は寒色寄りのダーク背景(#40145f)を採用し、標準の前景色に #fff0e3 を使ったターミナル配色です。本文の WCAG コントラスト比は 12.69:1(AAA)、12 色の ANSI カラーは平均 8.55:1、最小 6.12:1 です。

パレット全体は適度な彩度で、赤 #ff8b82、緑 #a8dc72、青 #8fc9f2、マゼンタ #e78bd8 を基調としています。

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

Trick or Treat に似た配色

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