----------------------------------------------------------------------------- -- | -- Module : Data.Prizm.Color.Matrices.RGB -- Copyright : (C) 2013 Parnell Springmeyer -- License : BSD3 -- Maintainer : Parnell Springmeyer -- Stability : stable -- -- Pre-calculated illuminant matrices: . ----------------------------------------------------------------------------- module Data.Prizm.Color.Matrices.RGB where import Data.Prizm.Types -- TODO: this should probably be a vector of triples. d65SRGB :: RGBtoXYZ d65SRGB = RGBtoXYZ [ [0.4124564, 0.3575761, 0.1804375], [0.2126729, 0.7151522, 0.0721750], [0.0193339, 0.1191920, 0.9503041]] -- TODO: this should probably be a vector of triples. d65Adobe :: RGBtoXYZ d65Adobe = RGBtoXYZ [ [0.5767309],[0.1855540],[0.1881852], [0.2973769],[0.6273491],[0.0752741], [0.0270343],[0.0706872],[0.9911085]]