Lifx.Internal.Colour
hsbkToRgb :: HSBK -> RGB Float Source #
Note that when kelvin has an effect (i.e. when saturation is any less than maximum), output is somewhat arbitrary.
kelvin
LIFX's team have never shared an exact forumla, and this implementation is inspired by various conflicting sources.
interpolateColour :: Num a => a -> RGB a -> RGB a -> RGB a Source #
maxWord16 :: Float Source #
minKelvin :: Num a => a Source #
maxKelvin :: Num a => a Source #