blenderskool/pigmnts

Sort based on dominance

blenderskool opened this issue · 1 comments

The generated colors could be sorted based on its dominance in the image. Or even better, return the colors along with their dominance as a percentage.

Results aren't sorted based on dominance, they are just provided in the result for every color in the palette. This is because sorting can be done based on different factors such as brightness, dominance, etc. as per the use case.