hsv-rgb
v1.0.0
Published
Convert HSV values to RGB
Downloads
4,518
Readme
hsv-rgb
Convert HSV values to RGB. This is essentially the hsv2rgb function found in pqx/color-functions, however this module returns an array rather than an dictionary.
Install
$ npm install hsv-rgb
API
rgb(h, s, v)
Example
var rgb = require('hsv-rgb')
rgb(36, 76, 86)
> [219, 153, 53]
rgb.apply(null, [36, 76, 86])
> [219, 153, 53]