The color swatch in the first column is computed from the average of the range of hues with the highest frequency. Move the slider to apply different angles to different math operations on this primary swatch. Move cursor over the image to get information about the color pixel. Click on a pixel on the image to set the corresponding color as the primary swatch. Source available on github.