HSV To HEX
Reverse Conversion
How This Converter Works
Converts hue, saturation, and value to a six-digit uppercase hexadecimal RGB color.
Formula or rule
C=V×S; X=C×(1-|(H/60) mod 2-1|); m=V-C; select (R,G,B) from the 60° hue sector, add m, and round each channel×255.
Example
- Input
- H=30°, S=100%, V=100%
- Calculation
- C=1; X=0.5; m=0; (R,G,B)=(1, 0.5, 0); channels×255=(255, 127.5, 0) rounds to (255, 128, 0).
- Result
- #FF8000