A step-by-step palette generator written in Javascript