@hackage prizm0.1.0.2

A haskell library for computing with colors

Welcome!

Prizm is a haskell library for dealing with colors. Please contribute!

My inspiration for writing this was Sass and Bourbon, both implement interesting color handling functions for use in stylesheets and I wanted the same thing for use in Clay (also for Bentonite).

Colour Module

There is some overlap with the Haskell Colour Module that already exists; however, this library is filling a couple of needs the other doesn't satisfy. I also want to have a cleaner API to work with.

Supported Algorithms

  • sRGB -> CIE XYZ
  • CIE XYZ -> sRGB

Roadmap

0.1.0.2

Make sure all of the conversion formulas convert losslessly at an acceptable level of precision.

1.0.0.0

Implementation of conversions for all the CIE color representations and a converter for HEX to SRGB (trivial).

1.1.0.0

Implementations for