Skip to content
hexcolorcodepicker.com

HEX to HSV (HSB) Converter

HSV values (also called HSB)

hsv(217, 76%, 96%)

Hue 217° · Saturation 76% · Value 96%

Saturation76%

Value (brightness)96%

Paste a HEX code and get its HSV values instantly. Free HEX to HSV converter with hue, saturation, and value shown, plus a live preview — copy in one click.

What is HEX to HSV conversion?

HEX to HSV conversion turns a HEX code into a hue, a saturation, and a value (brightness). HSV is the color model behind most color pickers: hue is the color family on a 0 to 360 degree wheel, saturation is how vivid it is as a percentage, and value is how bright it is as a percentage, where 100% is the brightest the color can be. The converter reads the HEX code and gives you all three.

HSV is also called HSB, and the two names mean exactly the same thing — the B stands for brightness, which is the same as value. If a tool asks for HSB and this page shows HSV, the numbers are interchangeable, and the page labels both names so nobody is confused by the two spellings.

#3B82F6

hsv(217, 76%, 96%) = hsb(217, 76%, 96%)

Saturation76%

Value (brightness)96%

Worked example: #3B82F6 = hsv(217, 76%, 96%)

The HEX code #3B82F6 converts to hsv(217, 76%, 96%). Its RGB values are 59, 130, and 246, and the hue of 217 degrees sits in the blue range, the saturation of 76% is vivid, and the value of 96% is nearly as bright as the color can be. It is a clear medium blue, and the same conversion appears as a worked example across several ranking pages.

The value is easy to check: value is the largest RGB channel divided by 255, and the largest channel here is blue at 246, so 246 divided by 255 is about 0.96, or 96%. The saturation is the gap between the largest and smallest channels divided by the largest, which comes out at about 76%. The hue is 217 degrees, the same hue as in HSL.

Hue 217°

blue range

Saturation 76%

vivid

Value 96%

246 ÷ 255

RGB (59, 130, 246) → hsv(217, 76%, 96%)

Worked example: #FF5733 = hsv(11, 80%, 100%)

The HEX code #FF5733 converts to hsv(11, 80%, 100%). Its RGB values are 255, 87, and 51, and the hue of 11 degrees sits just past red toward orange, the saturation of 80% is vivid, and the value of 100% is the brightest possible, because the largest channel is red at 255 and 255 divided by 255 is 1. It is a bright coral-orange used for buttons and highlights.

The value of 100% is worth pausing on: any color with a channel at 255 has a value of 100%, no matter how dark its other channels are. That is why value is called brightness and not lightness — it measures the brightest channel, not the average of the channels. A color can be fully bright and still look dark if its other channels are low.

Hue 11°

past red, toward orange

Saturation 80%

vivid

Value 100%

255 ÷ 255 = 1

RGB (255, 87, 51) → hsv(11, 80%, 100%)

How the conversion works, in plain language

To convert HEX to HSV, first read the HEX code as RGB, then find the largest and smallest channels. Divide each RGB value by 255 so all three sit between 0 and 1. Value is the largest value, times 100. Saturation is the gap between the largest and smallest values, divided by the largest, times 100 — and it is 0% when all three channels are equal, which is a gray. Hue depends on which channel is largest, and it is measured in degrees around the color wheel.

Take #3B82F6 as the example: the channels divided by 255 are about 0.23, 0.51, and 0.96, so the largest is 0.96 and the smallest is 0.23. Value is 0.96, or 96%. Saturation is the gap of 0.73 divided by the largest of 0.96, which is about 0.76, or 76%. Blue is the largest channel, so the hue formula for a blue-maximum color gives about 217 degrees.

  1. 1. HEX to RGB: #3B82F6 → 59, 130, 246
  2. 2. Divide by 255: 0.23, 0.51, 0.96
  3. 3. Value from the largest: 0.96 = 96%
  4. 4. Saturation from the gap: (0.96 − 0.23) ÷ 0.96 ≈ 76% · hue ≈ 217°

Rounded whole numbers: hsv(217, 76%, 96%)

HSV vs HSL: same hue, different third value

HSV and HSL share the same hue, but their third value is different: HSV uses value (brightness) while HSL uses lightness. For #3B82F6 the hue is 217 degrees in both models, but HSV says hsv(217, 76%, 96%) while HSL says hsl(217, 91%, 60%). The hue agrees because both models put the color in the same place on the wheel; the other two numbers differ because the models measure vividness and brightness differently.

The difference is what each model counts as the top of its scale. In HSV, value is the largest channel, so a color with a channel at 255 is at 100% value even if its other channels are low. In HSL, lightness is the average of the largest and smallest channels, so the same color sits at 60% lightness. Saturation differs too — 76% in HSV against 91% in HSL — because each model divides the channel gap by a different number.

HSV

hsv(217, 76%, 96%)

hue 217° · sat 76% · value 96%

HSL

hsl(217, 91%, 60%)

hue 217° · sat 91% · lightness 60%

Same color #3B82F6 — the shared hue (217°) agrees; the third values differ.

When to use HSV and when to use HSL

Use HSV when you are picking a color, and use HSL when you are adjusting one. HSV is the model behind the picker square on most color tools — the square's horizontal axis is saturation and its vertical axis is value — because dragging toward a corner feels like choosing how vivid and how bright the color is. HSL is the model behind design systems, because lightness steps make tidy palettes.

Neither model is more correct than the other; they are two ways of describing the same color, and both convert to the same HEX code. If a tool asks for HSV or HSB, use the numbers on this page; if it asks for HSL, use the numbers on the HEX-to-HSL page. The hue will match either way, and only the saturation and the third value will differ.

Picking a color — saturation–value square

Saturation across, value up and down — #3B82F6 sits at 76% across, 96% up.

Adjusting a color — lightness scale, hue 217°

#CEE0FD · #6DA2F8 · #0B64F4 · #073C92 · #021431

A note on rounding: converting back can shift a channel by 1

HSV values are rounded to whole numbers, so converting rounded HSV back to HEX can shift a channel by 1. The exact HSV of #3B82F6 is about 217.2 degrees, 76.0% saturation, and 96.5% value, and rounding those to 217, 76%, and 96% loses a fraction of a unit. Converting the rounded values back can give a HEX code one step different in a channel from the original.

That shift is too small to see with the eye, and it is normal for every converter that shows whole numbers. It matters only if you need a bit-exact round trip, in which case you should keep the original HEX code rather than converting back from the rounded HSV values. The tool states the rounding plainly so nobody is surprised by it.

Exact HSV

217.2°, 76.0%, 96.5%

#3B82F6

Rounded HSV

217°, 76%, 96%

#3B82F5

Blue 246 → 245 — rounding, not an error.

All color tools

21 tools, one topic — see About Hex Color Code Picker for who built this site.

Frequently asked questions

Paste the HEX code and copy the HSV values. The tool shows the hue in degrees from 0 to 360, the saturation as a percentage, and the value (brightness) as a percentage, plus a copyable hsv(H, S%, V%) value.