noahzgordon / elm-color-extra / 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 -> Basics.Float -> Color

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