@fantasy-color/hsv-to-rgb
v2.1.0
Published
Transform HSV objects to RGB objects
Keywords
Readme
@fantasy-color/hsv-to-rgb
Transform a HSV color object to a RGB color object.
type hsvToRgb = (color: HSV) => RGBExample usage:
import hsvToRgb from '@fantasy-color/hsv-to-rgb'
hsvToRgb({
hue: 180,
saturation: 100,
value: 100
})
// { red: 0, green: 255, blue: 255 }