Skip to content

Function: hsvToRgb()

ts
function hsvToRgb(__namedParameters): RgbColor;

Converts an HsvColor object to an RgbColor object.

Parameters

ParameterType
__namedParametersHsvColor

Returns

RgbColor

Example

ts
hsvToRgb({ h: 24, s: 100, v: 100 }) // => { r: 255, g: 102, b: 0 }

Since

1.0.0

Released under the MIT License.