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

2.1.0 • Public • Published

@fantasy-color/hsva-to-hsv

Transform a HSVA color object to a HSV color object.

type hsvaToHsv = (color: HSVA) => HSV

Example usage:

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

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

Readme

Keywords

none

Package Sidebar

Install

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

Weekly Downloads

1

Version

2.1.0

License

MIT

Unpacked Size

4.12 kB

Total Files

9

Last publish

Collaborators

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