fischer-color
v1.0.0
Published
Eric Fischer's perceptually accurate and computationally friendly color interpolation algorithm
Downloads
8
Maintainers
Readme
Fischer Color
A JavaScript implementation of Eric Fischer's simple and perceptually friendly color interpolation.
Example
API
interpolate(hue, chroma, luminosity)
(or interpolate([h, c, l])
)
Input:
- hue in range from 0 to 2 pi
- chroma in range from 0 to 1
- luminosity in range from 0 to 1
Returns:
- an array of
[red, green, blue]