Colors are extracted from your image using the K-means method. You can simply select an image and run the plugin. Furthermore, you can choose the number of colors you want the plugin to extract (default number = 5). The range varies from 1 to 10. So, you can better customize the output.