1. Add the handling logic for HSL mapping color inputs
2. Limit the palette data's thumb to maximum 500x500, then the produce
time of the analysis with k-mean processor would lower to a reasonable
time (normally less than 4s)