Run in the browser
palettes needs only Python, so it runs in a browser with PyScript or Pyodide.
These pages load it with micropip and draw with it:
palettes_demo: every palette family and color bar.
feathers: generative curves colored from the wheel.
rotations: palette cycling and sweeps.
scroll: a scrolling gradient.
To use palettes in your own page, install it as in
Install. The wheel’s name is
omnipython-palettes and the module you import is palettes.