tsParticles Palettes

April 9, 2026 · View on GitHub

banner

tsParticles Palettes

Official color palettes for tsParticles, reusable across custom particle configurations.

Discord Telegram Reddit

Buy Me A Coffee Linktree

Why palettes

  • Apply a consistent visual identity without changing your existing behavior settings
  • Reuse curated color sets across projects
  • Start quickly from accessible, thematic, or high-contrast combinations

Quick Start

Installation

pnpm add @tsparticles/engine @tsparticles/basic @tsparticles/palette-<palette-name>

Quick checklist

  1. Install @tsparticles/engine plus one base bundle (@tsparticles/basic recommended)
  2. Register the palette loader before tsParticles.load(...)
  3. Keep your current behavior settings and set only palette: "..."

Choose your quick-start path

  • I already have particle behavior configured: add one palette package and set palette: "..."
  • I need consistent branding colors: reuse the same palette across multiple effects
  • I want to experiment quickly: try the demo app and switch palettes by route

Preset or Palette?

  • Preset: defines complete behavior (movement, interactions, style)
  • Palette: mainly defines reusable color combinations

If you need a complete effect quickly, use a preset. If you already have a config and only want a color direction, use a palette.

Available palettes

Palettes are available in palettes/ and can be used to apply a visual color identity across configurations.

Palette index by category

atmosphere (10)

atmospheric (10)

confetti (10)

earth (7)

fantasy (8)

fire (8)

fireworks (23)

impact (7)

monochromatic (13)

nature (9)

optics (7)

pastel (5)

space (8)

spectrum (10)

tech (9)

vibrant (5)

water (8)

General guides:

Common pitfalls

  • Register the palette loader before calling tsParticles.load(...)
  • Use the same id value in your HTML container and load call
  • Do not assume every palette is included in every bundle; import the specific palette package
  • Keep behavior and interactions in your own config, then apply the palette

Support

If you need a new palette or want to contribute:

  • open an issue or pull request in this repository
  • include screenshots/GIFs and a config snippet to speed up review