HSB to RGB Converter
Convert HSB / HSV (hue, saturation, brightness) color values to RGB.
HSB Input: 239°, 59%, 95%HEX Preview: #6366f2RGB Result: rgb(99, 102, 242)
Presets:
#6366f2
Hue
Saturation (%)
Brightness (%)
RGB Output
Red
99
Green
102
Blue
242
rgb(99, 102, 242)
#6366f2
HSB / HSV to RGB conversion
HSB (also called HSV) represents colors with three components: Hue (0°–360° on the colour wheel), Saturation (0–100% from grey to vivid), and Brightness/Value (0–100% from black to full color). RGB represents the same color as intensities of red, green, and blue channels (0–255 each). HSB is the model used by most design tools (Photoshop, Figma, Sketch) because it maps more closely to how humans perceive color. For the reverse, use RGB to HSB, or convert HEX to HSB with HEX to HSB.
Built and maintained by Meet Shah · Last updated
What this tool is used for
- Converting a colour picked in a graphics application into RGB channels.
- Getting channels for a canvas or an image operation.
- Translating an HSB specification for a tool that needs RGB.
- Comparing an HSB colour against an RGB palette.
- Producing channels from a hue-based exploration.
Frequently Asked Questions
- How does the HSB to RGB conversion work?
- The hue circle is divided into six 60° sectors, and within each one two channels are fixed at the maximum and minimum while the third ramps linearly. Brightness scales the whole result and saturation controls how far the minimum sits below the maximum.
- Why does hue wrap at 360?
- Because it is an angle on a colour wheel, so 0° and 360° are the same red and 370° is 10°. That circularity means hue cannot be averaged arithmetically — the mean of 350° and 10° is 180°, cyan, when the answer should be 0°, red.
- What happens when saturation is zero?
- Every channel collapses to the same value and the result is a grey whose level is set by brightness alone. Hue becomes meaningless — any hue with zero saturation gives the same grey — which is why converting a grey back to HSB reports a hue of 0 as a convention.
- Is HSB the same as HSV?
- Yes, exactly. Photoshop and most design tools say Brightness; most programming libraries say Value. The numbers are identical and the difference is purely naming, which is worth knowing when a design hand-off and a codebase appear to disagree.
- Why do design tools use HSB rather than RGB?
- Because its axes match how people describe a change — a bit more red, a bit less vivid, a bit darker. Doing the same thing in RGB means adjusting three interacting numbers, and it is why the colour picker's square-and-slider layout is HSB even when the output is hex.
Common errors and gotchas
- Confusing HSB with HSL, whose third channel is defined differently.
- Reading brightness as lightness, so full brightness is expected to be white.
- Assuming CSS accepts HSB, which it does not.
- Treating hue as meaningful at zero saturation, where it describes nothing.
- Rounding channels before further arithmetic, which shifts derived colours.
Related Design & CSS tools
Color Converter
Convert a color to HEX, RGB, HSL, HSB, and CMYK at once.
HEX to RGB
Convert HEX color codes to RGB / RGBA values.
RGB to HEX
Convert RGB values into HEX color codes.
CSS Box Shadow Generator
Visually design CSS box-shadow with a live preview and code.
CSS Border Radius Generator
Visually craft border-radius with a live preview.
HEX to CMYK
Convert HEX colors to CMYK print values.
CMYK to HEX
Convert CMYK print values to HEX colors.
HEX to HSB
Convert HEX colors to HSB / HSV values.