---
id: fast-colors.hsvtorgb
title: hsvToRGB() function
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-colors](./fast-colors.md) &gt; [hsvToRGB](./fast-colors.hsvtorgb.md)

## hsvToRGB() function

Converts a [ColorHSV](./fast-colors.colorhsv.md) to a [ColorRGBA64](./fast-colors.colorrgba64.md)

<b>Signature:</b>

```typescript
export declare function hsvToRGB(hsv: ColorHSV, alpha?: number): ColorRGBA64;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  hsv | [ColorHSV](./fast-colors.colorhsv.md) | the hsv color to convert |
|  alpha | number | the alpha value |

<b>Returns:</b>

[ColorRGBA64](./fast-colors.colorrgba64.md)
