The colour package

[Tags: library, mit]

This package provides a data type for colours and transparency. Colours can be blended and composed. sRGB colour space is supported (Data.Colour.SRGB). A module of colour names (Data.Colour.Names) is provided.

[Skip to ReadMe]


Versions0.0.0, 1.0.0, 1.1.0, 2.0.0, 2.1.0, 2.2.0, 2.2.1, 2.3.0, 2.3.1, 2.3.2, 2.3.3
Change logNone available
Dependenciesbase (<4.5) [details]
AuthorRussell O'Connor
MaintainerRussell O'Connor <>
Categorydata, graphics
UploadedFri Nov 14 04:34:02 UTC 2008 by RussellOConnor
UpdatedTue Jan 13 22:13:57 UTC 2015 by HerbertValerioRiedel to revision 1
DistributionsDebian:2.3.3, Fedora:2.3.3, LTSHaskell:2.3.3, NixOS:2.3.3, Stackage:2.3.3
Downloads31713 total (197 in last 30 days)
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]




Maintainers' corner

For package maintainers and hackage trustees

Readme for colour-1.1.0

I hope for this library to become the standard colour library for Haskell.
Most software does not properly blend colours because they fail to
gamma-correct the colours before blending.  By using this library, Haskell
programs dealing with colour blending will avoid this problem.

This 1.0.0 release only contains the sRGB colour space.  Support for other
colour spaces is in development.  I'm releasing this now because I believe
sRGB support is all that is needed for many uses of this library.  I hope
that this sRGB interface will be stable.

Bug reports and any patches are also welcome.  Be warned, I haven't
extensively tested this library yet.

Russell O'Connor <>