fischer-color

1.0.0 • Public • Published

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]

Package Sidebar

Install

npm i fischer-color

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

8.35 kB

Total Files

9

Last publish

Collaborators

  • tmcw