noahzgordon/elm-color-extra/1.0.0

NOTE: the latest version is 1.0.2

Color.Interpolate

Interpolate

Interpolate between two colors

type Space
= RGB
| HSL
| LAB

The color space that is used for the interpolation

interpolate : Space -> Color -> Color -> Float -> Color

Linear interpolation of two colors by a factor between 0 and 1.