RGB to HSV Converter

Convert RGB colour values into hue, saturation and value.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

Enter red, green and blue values from 0–255 and get the equivalent HSV (also called HSB) — hue, saturation, and value — instantly, with a live colour swatch. HSV is the model behind most colour pickers.

How it works

The converter normalises each RGB channel to 0–1 and finds the maximum (max) and minimum (min) of the three. Value is simply max (as a percent). Saturation is the chroma relative to the max: (max − min) ÷ max, or 0 when max is 0. Hue is found from which channel is the maximum and the relative sizes of the other two, mapped onto the 0–360° wheel — the same hue calculation HSL uses. The tool rounds hue to a degree and saturation and value to whole percents.

Example

Convert rgb(59, 130, 246):

  • max = 246/255 → Value ≈ 96%
  • Saturation = (246 − 59) ÷ 246 ≈ 76%
  • Hue ≈ 217°
  • Result: HSV(217°, 76%, 96%)
RGBHSV
rgb(255, 0, 0)0°, 100%, 100%
rgb(0, 0, 0)0°, 0%, 0%
rgb(128, 128, 128)0°, 0%, 50%
rgb(59, 130, 246)217°, 76%, 96%

The whole conversion runs in your browser — nothing is uploaded.

Ad placeholder (rectangle)