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

2.1.0 • Public • Published

@fantasy-color/hsv-to-hsva

Transform a HSV color object to a HSVA color object.

type hsvToHsva = (color: HSV) => HSVA

Example usage:

import hsvToHsva from '@fantasy-color/hsv-to-hsva'

hsvToHsva({
  hue: 60,
  saturation: 32,
  value: 23
})
// { hue: 60, saturation: 32, value: 23, alpha: 1 }

Readme

Keywords

none

Package Sidebar

Install

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

Weekly Downloads

0

Version

2.1.0

License

MIT

Unpacked Size

4.25 kB

Total Files

9

Last publish

Collaborators

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