Skip to content

michaelrhodes/hsv-rgb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Convert HSV values to RGB

Resources

Stars

Watchers

Forks

Packages

No packages published