Color-0.3.0: README.md
# Color
A library for dealing with Colors and pixels. It implements arbitrary color space
conversion, chromatic adaptation and other color manipulations.
## Status
| Language | Travis | Azure | Coveralls |Gitter.im |
|:--------:|:------:|:--------:|:---------:|:--------:|
|  | [](https://travis-ci.org/lehins/Color) | [](https://dev.azure.com/kuleshevich/Color/_build?branchName=master) | [](https://coveralls.io/github/lehins/Color?branch=master) | [](https://gitter.im/haskell-massiv/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
| Package | Hackage | Nightly | LTS |
|:-------------------|:-------:|:-------:|:---:|
| [`Color`](https://github.com/lehins/Color/tree/master/Color)| [](https://hackage.haskell.org/package/Color)| [](https://www.stackage.org/nightly/package/Color)| [](https://www.stackage.org/lts/package/Color)|
## Description
There is a clear separation between color models, color spaces and alternative
representations of color spaces. All are distinct at the type level. The goal is to
prevent mixups of incompatible color types as well as utilize type information for
conversion between them.
Currently supported:
* Color models:
* `Y`
* `RGB`
* `HSI`
* `HSL`
* `HSV`
* `YCbCr`
* `CMYK`
* Color spaces and arbitrary conversions between them:
* `Y` - luminance
* `Y'` - luma
* `CIE XYZ`
* `CIE L*a*b*`
* `RGB`:
* `sRGB` - both standardized and derived
* `AdobeRGB` - both standardized and derived
* ITU: `Rec470`, `Rec601` and `Rec709`
* Alternative representations:
* `HSI`
* `HSL`
* `HSV`
* `YCbCr`
* `CMYK`
* Illuminants:
* CIE1931 - 2 degree observer
* CIE1964 - 10 degree observer
* Some common alternatives
* Chromatic adaptation:
* VonKries adaptation with transformations:
* `VonKries`
* `Bradford` (default)
* `Fairchild`
* `CIECAM02`
* `CMCCAT2000`
* Color Standards:
* RAL
## External resources
* `Color` is on a list of curated [Awesome Colour](https://awesome-colour.org/#haskell)
resources.
* While working on this library the [colour-science.org](https://www.colour-science.org/)
and their Python implementation of [colour](https://github.com/colour-science/colour)
was used extensively as a reference.