The number of colors to extract. Default is 5.
Which distance algorithm to use. Default is Euclidean (DeltaE 76) on Lab space. WARNING: Using complex metrics like DeltaE 2000 will significantly impact performance.
Max iterations for the K-Means algorithm. Default is 10.
The sampling quality. 1 = Check every pixel (Slowest). 10 = Check every 10th pixel (Fast). Default is 10.
How to sort the resulting palette.
dominance: Sort by pixel count.vibrance: Sort by a mix of saturation and luminance.
Default is dominance.
Options for the color extraction.