prizm: A haskell library for computing with colors

[ bsd3, graphics, library ] [ Propose Tags ]
This version is deprecated.

Prizm can convert between many different color representations; notably the sRGB and CIE representations. Future versions will implementations for mutating colors as well.


[Skip to Readme]

Modules

[Last Documentation]

  • Prizm
    • Color
      • Prizm.Color.CIE
      • Prizm.Color.SRGB
      • Prizm.Color.Transform
    • Prizm.Types

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.2.0.0, 0.2.1.0, 0.3.0.0, 0.3.1.0, 0.3.1.1, 0.3.1.2, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.1.0, 2.0.0, 2.0.1, 3.0.0 (info)
Dependencies base (>=4.5 && <4.6) [details]
License BSD-3-Clause
Copyright (c) 2013 Parnell Springmeyer
Author Parnell Springmeyer
Maintainer ixmatus@gmail.com
Category Graphics
Home page https://github.com/ixmatus/prizm
Bug tracker https://github.com/ixmatus/prizm/issues
Source repo head: git clone https://github.com/ixmatus/prizm
Uploaded by ParnellSpringmeyer at 2013-05-09T20:58:31Z
Distributions NixOS:3.0.0
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 11155 total (53 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-21 [all 6 reports]

Readme for prizm-0.1.0.0

[back to package description]

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