HSB to RGB Converter
HSB (HSV) in, RGB out — with the working shown.
To convert HSB to RGB, normalise the input, convert HSB back to RGB, write out the RGB value, then check the gamut. For example, hsb(215.4 81% 96.9%) in HSB is rgb(47 129 247) in RGB.
This is a free HSB to RGB converter. Type or paste any hue, saturation and brightness into the field above and the RGB value updates as you type, along with every other notation the web understands. RGB is three channels from 0 to 255 describing how hard the display drives its red, green and blue subpixels.
Conversions run entirely in your browser using the same color engine as the rest of the site: values round-trip through linear sRGB and CIE XYZ rather than through an approximation, so what you copy is accurate to the last digit the format can carry.
How to convert HSB to RGB
- Normalise the input. Read the HSB value and scale each component into the 0–1 range the maths expects.
- Convert HSB back to RGB. HSB is not the display's native model, so the first move is always back to red, green and blue.
- Write out the RGB value. Convert back through sRGB and format the result as RGB.
- Check the gamut. Clamp anything that falls outside what an sRGB display can show, so the value you copy is the value you get.
Worked example: hsb(215.4 81% 96.9%) converts to rgb(47 129 247). That color is Dodger Blue, and the tool above shows each intermediate step for whatever value you enter.
Common HSB to RGB values
The twenty colors people look up most often, converted from HSB to RGB. Every row is computed by the same engine as the tool above.
| Color | HSB | RGB |
|---|---|---|
| White | hsb(0 0% 100%) | rgb(255 255 255) |
| Black | hsb(0 0% 0%) | rgb(0 0 0) |
| Red | hsb(0 100% 100%) | rgb(255 0 0) |
| Lime | hsb(120 100% 100%) | rgb(0 255 0) |
| Blue | hsb(240 100% 100%) | rgb(0 0 255) |
| Yellow | hsb(60 100% 100%) | rgb(255 255 0) |
| Cyan | hsb(180 100% 100%) | rgb(0 255 255) |
| Magenta | hsb(300 100% 100%) | rgb(255 0 255) |
| Silver | hsb(0 0% 75.3%) | rgb(192 192 192) |
| Gray | hsb(0 0% 50.2%) | rgb(128 128 128) |
| Maroon | hsb(0 100% 50.2%) | rgb(128 0 0) |
| Olive | hsb(60 100% 50.2%) | rgb(128 128 0) |
| Green | hsb(120 100% 50.2%) | rgb(0 128 0) |
| Purple | hsb(300 100% 50.2%) | rgb(128 0 128) |
| Teal | hsb(180 100% 50.2%) | rgb(0 128 128) |
| Navy | hsb(240 100% 50.2%) | rgb(0 0 128) |
| Orange | hsb(38.8 100% 100%) | rgb(255 165 0) |
| Pink | hsb(349.5 24.7% 100%) | rgb(255 192 203) |
| Gold | hsb(50.6 100% 100%) | rgb(255 215 0) |
| Crimson | hsb(348 90.9% 86.3%) | rgb(220 20 60) |
HSB and RGB, briefly
HSB is hue, saturation and brightness — the model most native color pickers use internally, also written HSV. Valid range: H 0–360°, S and B 0–100%.
RGB is three channels from 0 to 255 describing how hard the display drives its red, green and blue subpixels. Valid range: 0–255 per channel.
Frequently asked questions
How do you convert HSB to RGB?
1. Read the HSB value and scale each component into the 0–1 range the maths expects. 2. HSB is not the display's native model, so the first move is always back to red, green and blue. 3. Convert back through sRGB and format the result as RGB. 4. Clamp anything that falls outside what an sRGB display can show, so the value you copy is the value you get. The converter on this page does all of it as you type, and shows the working underneath.
What is hsb(0 100% 100%) in RGB?
Pure red, hsb(0 100% 100%), is rgb(255 0 0) in RGB. There is a table of twenty common colors converted to RGB further up this page.
What is hsb(215.4 81% 96.9%) in RGB?
hsb(215.4 81% 96.9%) converts to rgb(47 129 247). It is a dodger blue, and you can paste any other value into the field at the top of the page to convert it.
Is HSB to RGB conversion lossless?
Within sRGB, yes — converting to RGB and back returns the value you started with. The only rounding happens when a component is written out to a fixed number of decimal places.
Can I use RGB directly in CSS?
Yes. rgb(47 129 247) is valid CSS and works in every current browser.
Does this HSB to RGB converter support transparency?
Alpha is preserved wherever the target notation can carry it — eight-digit hex, rgb() / a, hsl() / a and the modern CSS spaces all round-trip an alpha channel. CMYK has no alpha, so it is dropped there.
Is my color data sent anywhere?
No. Every conversion on this site runs in your browser with no network request, no account and no analytics. You can disconnect and it keeps working.