@fantasy-color/hsv-to-rgb
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

@fantasy-color/hsv-to-rgb

Transform a HSV color object to a RGB color object.

type hsvToRgb = (color: HSV) => RGB

Example usage:

import hsvToRgb from '@fantasy-color/hsv-to-rgb'

hsvToRgb({
  hue: 180,
  saturation: 100,
  value: 100
})
// { red: 0, green: 255, blue: 255 }

Readme

Keywords

none

Package Sidebar

Install

npm i @fantasy-color/hsv-to-rgb

Weekly Downloads

7

Version

2.1.0

License

MIT

Unpacked Size

12.3 kB

Total Files

9

Last publish

Collaborators

  • ijigg
  • moria.am
  • atilaz
  • gideon.gur
  • irminakacz
  • fernando.3
  • xaviervia
  • psxcode
  • deepsweet