Lightmo Palette Generator

Lightmo uses a fairly simple algorithm to generate color palettes--but I'm still proud of it!

Here's a JavaScript version, in case you want to try it out (or inspect the code)!

The goal was to create harmonious color combinations, but with the potential to get a little odd here and there. To achieve this, I built a few different palette models, some of them very regular, some of them a little off.

Each palette is created from a selection of these models, which is then shifted from a random starting color.

If you want to hack the code, you can make your own models easy enough, by adding new sets of values into the arrays.