# chromashift

A library for converting between various color formats and color spaces.

📖 **[Full Documentation](https://csskit.rs/docs/internal/chromashift/)**

## Features

- **RGB/sRGB**: Standard RGB with optional alpha channel
- **HSL**: Hue, Saturation, Lightness with intuitive manipulation
- **HSV/HSB**: Hue, Saturation, Value/Brightness for color pickers
- **HWB**: Hue, Whiteness, Blackness as specified in CSS Color Level 4
- **LAB**: Perceptually uniform CIE L*a*b\* color space
- **LCH**: Lightness, Chroma, Hue cylindrical representation of LAB
- **XYZ**: CIE XYZ tristimulus values for device-independent color

## Optional Features

- `anstyle` - Enables converting to [anstyle](https://crates.io/crates/anstyle).

## Part of csskit

This crate is part of the csskit project, a comprehensive CSS toolchain.

For more information, visit [csskit.rs](https://csskit.rs/).

## License

MIT
