HEX to HSV converter

#2563eb is hsv(221, 84%, 92%): value is the largest RGB channel ÷ 255, saturation is (max − min) ÷ max, and hue is the same angle as in HSL.

Paste a HEX code to get hue, saturation and value (HSB) for Figma, Photoshop or Procreate, with a live swatch and copy-ready HEX and RGB values.

How to convert HEX to HSV

Take #2563eb and read the three pairs: 25, 63 and eb. They become 37, 99 and 235, or 0.145, 0.388 and 0.922 once divided by 255. Value is the largest channel, 0.922 = 92%. Saturation is (0.922 − 0.145) ÷ 0.922 = 0.843, or 84%. Hue is the same angle as in HSL, 221°. The result is hsv(221, 84%, 92%).

Need the other direction? Use the HSV to HEX converter, or read the same color as HSL and RGB.

HSV / HSBhsv(221, 84%, 92%)
HEX#2563eb
RGBrgb(37, 99, 235)

CSS has no hsv() function. Copy the HEX value, or the hsl() value with the same hue and saturation, into your stylesheet.

HEX#2664eb
RGBrgb(38, 100, 235)

Common HEX to HSV values

ColorHEXHSV / HSBRGB
White#ffffffhsv(0, 0%, 100%)rgb(255, 255, 255)
Black#000000hsv(0, 0%, 0%)rgb(0, 0, 0)
Blue#2563ebhsv(221, 84%, 92%)rgb(37, 99, 235)
Red#ef4444hsv(0, 72%, 94%)rgb(239, 68, 68)
Green#22c55ehsv(142, 83%, 77%)rgb(34, 197, 94)
Amber#f59e0bhsv(38, 96%, 96%)rgb(245, 158, 11)

HSV vs HSL: what is the difference?

Both models describe a color with hue and saturation, but the third number works differently. HSV is the model behind the HSB pickers in Figma, Photoshop and Procreate; HSL is the one CSS understands.

QuestionHSV / HSBHSL
What does 100% mean?Value 100% is the brightest version of the hue; adding white lowers saturation, not value.Lightness 100% is pure white; 50% is the full-strength hue.
Where is it used?Figma, Photoshop, Procreate and most color pickers show HSB.CSS hsl() and design tokens use HSL.
Does CSS support it?No. CSS has no hsv() function; convert to HEX or hsl().Yes. hsl() and hsla() are native CSS.

HEX to HSV converter FAQs

Is HSV the same as HSB?

Yes. HSV and HSB are the same model: hue, saturation and value, where value is also called brightness. Figma, Photoshop and Procreate label it HSB, while CSS and most code libraries call it HSV, so the numbers are identical.

How do I use an HSV color in CSS?

CSS has no hsv() function, so convert the HSV value to HEX or hsl() first. #2563eb is hsv(221, 84%, 92%) and hsl(221, 83%, 53%); copy the HEX or the hsl() value into your stylesheet.

What is the HSV of pure red?

Pure red (#ff0000) is hsv(0, 100%, 100%): hue 0, full saturation and full value. Pure green is hsv(120, 100%, 100%) and pure blue is hsv(240, 100%, 100%).

Related color tools

More color tools

Image tools

CSS generators

Image & SVG tools

Typography & units

More free tools

All free tools