hsv-rgb

1.0.0 • Public • Published

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.

Build status

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]

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i hsv-rgb

Weekly Downloads

777

Version

1.0.0

License

MIT

Last publish

Collaborators

  • michaelrhodes