@micropasts/colour-palette

Examples with pre-formatted setup snippets, runtime image loading, and toolbar control flags.

1. Full Controls + Runtime setImageElement()

All toolbar controls enabled; image passed at runtime from an existing <img> element.

Source portrait

2. Locked Toolbar Controls (Image Select, Count & Theme Hidden)

Sets showImageSelect: false, showColourCount: false, and showThemeSwitcher: false for embedded cards.

3. Light Theme + Runtime Method Calls

Drives loadImage(), setColourCount(), setFormat(), and getColours() programmatically.

Colours will appear here when getColours() is clicked.