fischer-color icon indicating copy to clipboard operation
fischer-color copied to clipboard

eric fischer's perceptually-friendly color system

trafficstars

Fischer Color

build status Greenkeeper badge

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]