# ColorExtractor

ColorExtractor is a Python package that allows you to extract main colors from an image using clustering techniques and visualize them along with their ratios.

## Installation

You can install ColorExtractor via pip:

```bash
pip install color-extractor

```
## Features

- Extract main colors from an image using K-means clustering.
- Calculate color ratios based on the number of pixels.
- Visualize main colors along with their ratios.
- Support for both RGB and HSV color spaces.

## License

This format maintains the consistency and readability of the README.md file.

