Package Exports
- color-ranger
- color-ranger/worker
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (color-ranger) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Render color range into an ImageData. Useful both as a separate web-worker and as a simple module.
var range = require('color-ranger');
var Color = require('color');
var c = new Color('green');
var imageData = range(c, 'hsl', [0,1], data);
range(color, space, channels, data)
color
- Render range for a color
space
- pick a space
channels
- list of channels to render
data
- an ImageData instance.