The attempt here is to provide something similar to https://gka.github.io/chroma.js/ but also idiomatic Elm.
Return a new configuration and a function from float to color based on default values and the given colors.
Calculate the distance in RGB 255 color space.
Calculate the distance in LAB color space.
Return a new configuration and a function from float to color based on default values, the given colors and domain.
Return a new configuration and a function from float to color based on default values - colors White to Black, domain 0 - 1.
Return a new configuration and a function from float to color based on the given configuration values and the given colors.
Return a new configuration and a function from float to color based on the given configuration values, the given colors and domain.
Given a valid hex string (6 or 3) produce an RGB Color.