prizm-0.3.0.0: A haskell library for computing with colors
Data.Prizm.Color.CIE.LAB
Synopsis
toLCH :: CIELAB Double -> CIELCH DoubleSource
toLCH convert a LAB color to the LCH representation.
toLCH
toXYZ :: CIELAB Double -> CIEXYZ DoubleSource
toXYZ convert a LAB color to the XYZ representation.
toXYZ
toRGB :: CIELAB Double -> RGB IntegerSource
toRGB convenience function for converting straight to RGB.
toRGB
toHex :: CIELAB Double -> HexSource
toHex convenience function for converting straight to HEX.
toHex
fromXYZ :: CIEXYZ Double -> CIELAB DoubleSource
fromXYZ convert an XYZ color straight to LAB.
fromXYZ
fromRGB :: RGB Integer -> CIELAB DoubleSource
fromRGB convenience function for converting to LAB from RGB.
fromRGB
fromHex :: Hex -> CIELAB DoubleSource
fromHex convenience function for converting to LAB from HEX.
fromHex
fromLCH :: CIELCH Double -> CIELAB DoubleSource
fromLCH convert a LCH color to the LAB representation.
fromLCH