Metadata-Version: 2.2
Name: pyletteyes
Version: 0.1.1
Summary: A comprehensive colour manipulation and evaluation library
Author-email: Blake Downward <blakedownward@gmail.com>
License: MIT
Keywords: colour,palette,rgb,hsl
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: Pillow
Requires-Dist: numpy
Provides-Extra: dev
Requires-Dist: pytest>=6.0; extra == "dev"
Requires-Dist: pytest-cov; extra == "dev"
Requires-Dist: black; extra == "dev"
Requires-Dist: isort; extra == "dev"
Requires-Dist: flake8; extra == "dev"
Requires-Dist: mypy; extra == "dev"

# Pyletteyes

A comprehensive Python library for colour manipulation and evaluation.

## Features

- Colour space conversions (Hex, RGB, HSL)
- Colour manipulation (lighten, darken, complementary colours)
- Palette generation and analysis
- Image colour extraction

## Installation

```bash
pip install pyletteyes
```

## Basic Usage Example

```python
from pyletteyes.colour import Colour

# Create a colour and print RGB string
red = Colour.from_hex("#FF0000")
print(red) # outputs: rgb(255, 0, 0)

# Lighten it and output as HSL values
light_red = red.lighten(0.1)
print(light_red.hsl) # outputs: (0.0, 0.5980392156862745, 1.0)

# Darken it and print as an RGB string
dark_red = red.darken(0.2)
print(dark_red) # outputs: rgb(153, 0, 0)

# Get complementary colour and output as hex
complement = red.get_complementary()
print(complement.to_hex()) # outputs: #00feff

# Get a pastel from the complementary colour
pastel = complement.get_pastel()
print(pastel) # outputs: rgb(101, 203, 204)
```
