eskimoblood/elm-color-extra/3.2.0

NOTE: this package is not compatible with Elm 0.19.1

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.