本文へスキップ

Catppuccin

Catppuccin はダーク系のターミナル配色(寒色)。背景色 #1e1e2e、文字色 #d6d6d6、コントラスト比 11.3:1

設定を取得
背景色
#1e1e2e
前景色
#d6d6d6
文字のコントラスト
11.28:1AAA
アクセントのコントラスト
6.95:1最小 5.13
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
❯

Catppuccin の設定ファイル

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

Catppuccin

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

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

palette = 0=#181a1f
palette = 1=#e86671
palette = 2=#98c379
palette = 3=#e5c07b
palette = 4=#61afef
palette = 5=#c678dd
palette = 6=#54afbc
palette = 7=#abb2bf
palette = 8=#5c6370
palette = 9=#e86671
palette = 10=#98c379
palette = 11=#e5c07b
palette = 12=#61afef
palette = 13=#c678dd
palette = 14=#54afbc
palette = 15=#f7f7f7
background = #1e1e2e
foreground = #d6d6d6
cursor-color = #d9d9d9
cursor-text = #1e1e2e
selection-background = #464754
selection-foreground = #d6d6d6

Catppuccin のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#1e1e2ergb(30 30 46)hsl(240 21% 15%)oklch(24.3% 0.030 283.9)—
前景色foreground#d6d6d6rgb(214 214 214)hsl(0 0% 84%)oklch(87.6% 0.000 0)11.28 AAA
カーソルcursor#d9d9d9rgb(217 217 217)hsl(0 0% 85%)oklch(88.5% 0.000 0)11.62 AAA
カーソルの文字cursorText#1e1e2ergb(30 30 46)hsl(240 21% 15%)oklch(24.3% 0.030 283.9)1.00 AA 未満
選択範囲selection#464754rgb(70 71 84)hsl(236 9% 30%)oklch(40.2% 0.022 281.9)1.79 AA 未満
選択範囲の文字selectionText#d6d6d6rgb(214 214 214)hsl(0 0% 84%)oklch(87.6% 0.000 0)11.28 AAA
黒color0#181a1frgb(24 26 31)hsl(223 13% 11%)oklch(21.8% 0.010 268.2)1.06 AA 未満
赤color1#e86671rgb(232 102 113)hsl(355 74% 65%)oklch(67.3% 0.161 17.4)5.13 AA
緑color2#98c379rgb(152 195 121)hsl(95 38% 62%)oklch(76.8% 0.110 133.0)8.14 AAA
黄color3#e5c07brgb(229 192 123)hsl(39 67% 69%)oklch(82.5% 0.097 82.3)9.50 AAA
青color4#61afefrgb(97 175 239)hsl(207 82% 66%)oklch(73.0% 0.121 245.3)6.94 AA
マゼンタcolor5#c678ddrgb(198 120 221)hsl(286 60% 67%)oklch(69.4% 0.164 318.2)5.57 AA
シアンcolor6#54afbcrgb(84 175 188)hsl(188 44% 53%)oklch(70.4% 0.088 207.8)6.43 AA
白color7#abb2bfrgb(171 178 191)hsl(219 14% 71%)oklch(76.2% 0.020 263.0)7.69 AAA
明るい黒color8#5c6370rgb(92 99 112)hsl(219 10% 40%)oklch(49.8% 0.022 262.9)2.71 AA 未満
明るい赤color9#e86671rgb(232 102 113)hsl(355 74% 65%)oklch(67.3% 0.161 17.4)5.13 AA
明るい緑color10#98c379rgb(152 195 121)hsl(95 38% 62%)oklch(76.8% 0.110 133.0)8.14 AAA
明るい黄color11#e5c07brgb(229 192 123)hsl(39 67% 69%)oklch(82.5% 0.097 82.3)9.50 AAA
明るい青color12#61afefrgb(97 175 239)hsl(207 82% 66%)oklch(73.0% 0.121 245.3)6.94 AA
明るいマゼンタcolor13#c678ddrgb(198 120 221)hsl(286 60% 67%)oklch(69.4% 0.164 318.2)5.57 AA
明るいシアンcolor14#54afbcrgb(84 175 188)hsl(188 44% 53%)oklch(70.4% 0.088 207.8)6.43 AA
明るい白color15#f7f7f7rgb(247 247 247)hsl(0 0% 97%)oklch(97.6% 0.000 0)15.31 AAA

Catppuccin について

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

パレット全体は適度な彩度で、赤 #e86671、緑 #98c379、青 #61afef、マゼンタ #c678dd を基調としています。Catppuccin テーマファミリーに属する配色です。

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

Catppuccin に似た配色

データ出典:Alacritty Theme (Apache-2.0)