@hackage prizm0.1.0.1

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).

Supported Algorithms

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

Roadmap

1.0.0

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

1.1.0

Implementations for

  • color mixing
  • tint / shade
  • darken / lighten
  • hue
  • saturation
  • inversion

Conversion Algorithm Sources