Skip to content
eric fischer's perceptually-friendly color system
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
CHANGELOG.md
README.md
example.png
index.js
package.json
test.js

README.md

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]
You can’t perform that action at this time.