LanceGin/haishoku

Feature request: configurable number of colors in palette

Lucas-C opened this issue · 1 comments

Hi.

Currently haishoku always returns a palette with max 8 colors:
cf. haishoku/haishoku.py on line 77

Could it be possible to make this configurable, to generate 16-colors palette for example, please?

tspier commented

That would be great. I just ended up changing the three relevant lines. If it doesn't find more than eight, then it seems to default to the maximum.