davidmerfield/randomColor

Setting the seed produces colors in the same hue range

Opened this issue · 2 comments

benji commented

When I set the seed to a certain value, then I'm getting either blue-ish or green-ish or orange-ish colors, but never a combination of red/blue/yellow/green.

benji commented

When there is a seed the colors generated are cyclical, with a length of ~ 24 colors:
https://codepen.io/benjist/pen/MqxKqJ

The number N of colors chosen only returns the first N colors of that cycle:
which results in very similar colors when N is low:
https://codepen.io/benjist/pen/NLJzab

I see the issue, sounds like an improvement to the seed generator is needed. Will fix, eventually!