HSV to RGB Converter

Convert HSV (hue, saturation, value) color values to RGB. Free, instant, and private.

Independently verified for accuracy

Calculator by Toolsloft ↗
Enter an h, s, v triple to convert

Convert an HSV color (hue, saturation, value) back to RGB for use in CSS or code. Enter the three HSV numbers and read the rgb() result. This is the reverse of picking a color by hue and brightness in a color wheel.

How this is calculated

Chroma is value times saturation. A second component is derived from the hue position within its 60 degree sector, and both are shifted up by value minus chroma before scaling to 0 to 255. This is the standard HSV to RGB formula.

How to use

  1. Enter the hue, saturation, and value, for example 220, 75, 80.
  2. The rgb() result appears below as you type.
  3. Copy the RGB values into your CSS or code.

Examples

  • 220, 75, 80: rgb(51, 102, 204)
  • 0, 100, 100: rgb(255, 0, 0)

FAQ

What ranges do the inputs use?
Hue is 0 to 360 degrees. Saturation and value are percentages from 0 to 100.
Why did I get the same RGB from two different HSV inputs?
When value is 0 the color is black and when saturation is 0 the color is a shade of gray, so the hue no longer changes the result.

Embed this calculator

Add this free calculator to your own site. Copy the code and paste it where you want it to appear.