@tsparticles/palette-minecraft

tsParticles minecraft palette
3,493 9,045
Install
npm install @tsparticles/palette-minecraft
Latest Version:4.5.0
License:MIT
Last Updated:Oct 27, 2026
Links: GitHub  ·  npm
Maintainer: matteobruni

banner

tsParticles Minecraft Palette

jsDelivr npmjs npmjs GitHub Sponsors

tsParticles palette with all 16 Minecraft dye colors.

Discord Telegram

tsParticles Product Hunt

Sample

demo

Colors

All 16 Minecraft dyes:


#F9FFFE
White

#9D9D97
Light Gray

#474F52
Gray

#1D1D21
Black

#835432
Brown

#B02E26
Red

#F9801D
Orange

#FED83D
Yellow

#80C71F
Lime

#5E7C16
Green

#169C9C
Cyan

#3AB3DA
Light Blue

#3C44AA
Blue

#8932B8
Purple

#C74EBD
Magenta

#F38BAA
Pink

Background
#21212B
Blend mode: screen | Fill: true

Quick checklist

  1. Install @tsparticles/engine (or use the CDN bundle below)
  2. Load a base package (for example @tsparticles/basic) and call loadMinecraftPalette before tsParticles.load(...)
  3. Apply the palette plus a minimal particles configuration in your options

A palette defines colors, not complete behavior, so pair it with a runtime package and particle options.

How to use it

CDN / Vanilla JS / jQuery

<script src="https://cdn.jsdelivr.net/npm/@tsparticles/basic@4/tsparticles.basic.bundle.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tsparticles/palette-minecraft@4/tsparticles.palette-palette-minecraft.min.js"></script>

Usage

Once the scripts are loaded you can set up tsParticles like this:

(async engine => {
  await loadBasic(engine);
  await loadMinecraftPalette(engine);

  const options = {
    particles: {
      number: { value: 200 },
      shape: { type: "circle" },
      size: { value: { min: 10, max: 15 } },
      move: {
        enable: true,
        speed: 2,
      },
    },
    palette: "minecraft",
  };

  await engine.load({
    id: "tsparticles",
    options,
  });
})(tsParticles);
Customization

Important ⚠️ You can override all the options defining the properties like in any standard tsParticles installation.

Frameworks with a tsParticles component library

Checkout the documentation in the component library repository and call the loadMinecraftPalette function.

Related Packages

Version History

Version Released License
4.5.0 MIT
4.4.0 MIT
4.3.2 MIT
4.3.1 MIT
4.3.0 MIT
Pre-releases (2)
Version Released License
4.0.0-beta.17 MIT
4.0.0-beta.16 MIT