Skip to content
Extensive collection of color spaces and color models
Haskell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Color Revert some breaking changes from 5423357 Feb 7, 2020
.travis.yml Fix travis - pin dependencies Feb 5, 2020
README.md Improve README a bit. Add references to external resources [ci skip] Feb 6, 2020
stack.yaml Pin scheduler in stack.yaml Feb 7, 2020

README.md

Color

Language Travis Coveralls Gitter.im
GitHub top language Travis Coverage Status Join the chat at https://gitter.im/haskell-massiv/Lobby
Package Hackage Nightly LTS
Color Hackage Nightly Nightly

A library for dealing with Colors and pixels. It implements arbitrary color space conversion, chromatic adaptation and other color manipulations.

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

    • CIE XYZ

    • CIE L*a*b*

    • RGB:

      • sRGB

      • AdobeRGB

      • 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
  • Color Standards:

    • RAL

External resources

You can’t perform that action at this time.