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]

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2
  • 0.0.0
    0

Package Sidebar

Install

npm i fischer-color

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

8.35 kB

Total Files

9

Last publish

Collaborators

  • tmcw