prizm: Compute with colors and differenct color spaces
prizm
is a Haskell library for computing with colors. Specifically
providing functions for transforming between different color spaces,
interpolating colors and adjusting the tint, shade, hue, or
lightness or a color.
My inspiration for writing this was Sass and Bourbon, both implement interesting functions for computing with colors for use in stylesheets and I wanted the same thing for use in Clay.
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. Primarily transformations and color mutations in the CIE L*Ch space.
Supported Algorithms & Functions
All of these functions operate on color within the CIE L*Ch representation. The percentage values may range between -100 and 100.
sRGB - CIE XYZ
CIE XYZ - CIE L*ab
CIE L*ab - CIE L*Ch
Color interpolation
Tinting / Darkening
Lightness
Hue
Chroma/Saturation
Formulas, Resources, and Links
Modules
[Index]
Downloads
- prizm-0.3.1.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
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) |
---|---|
Change log | CHANGES |
Dependencies | base (>=4.5 && <5), text (>=0.11.2.3) [details] |
Tested with | ghc ==7.6.3 |
License | BSD-3-Clause |
Copyright | (c) 2013 Parnell Springmeyer |
Author | Parnell Springmeyer |
Maintainer | parnell@ixmat.us |
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 2014-10-13T14:33:46Z |
Distributions | NixOS:3.0.0 |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 11608 total (7 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |