GamutDesk Logo
GamutDesk

HSV to HEX Code Converter

Convert Hue, Saturation, and Value/Brightness (HSV/HSB) coordinates into standard 6-digit hexadecimal web color strings.

Client-Side ArchitecturePrivate Client-Side Processing
HSV Cylindrical Sliders
Hue (0° - 360°)
Saturation (0% - 100%)
Value / Brightness (0% - 100%)
Generated Hex
#2664EB
Hexadecimal Value
#2664EB
Equivalent RGB:rgb(38, 100, 235)

Technical Specification & Mathematical Principles

Chroma is calculated as C = (V / 100) * (S / 100), with secondary coordinate X = C * (1 - |(H / 60) mod 2 - 1|).

Lightness baseline m = (V / 100) - C shifts channels back into 0 - 255 range before encoding to #RRGGBB.

Frequently Asked Questions

How does the formula derive RGB from HSV?
The formula calculates chroma C = V * S, intermediate offset X = C * (1 - |(H / 60) mod 2 - 1|), and baseline offset m = V - C, subsequently mapping channels depending on the 60° hue sector.
What happens when Value is set to 0% in HSV?
When Value/Brightness is 0%, all RGB channels resolve to 0 (#000000 pure black), regardless of Hue or Saturation settings.
Why is HSV commonly called HSB?
HSV (Hue, Saturation, Value) and HSB (Hue, Saturation, Brightness) refer to the exact same mathematical cone model. 'Brightness' was popularized by Apple and Adobe interfaces, while 'Value' was the original academic terminology.

Related Design & Color Instruments