HWB to RGB Converter

Enter HWB values and instantly get the RGB color with a live preview swatch and step-by-step conversion breakdown.

HWB Input

210°
10%
20%
Or pick a color to auto-fill HWB
rgb(51, 153, 204)

RGB Output

rgb(51, 153, 204)
Red 51 0–255
Green 153 0–255
Blue 204 0–255

Conversion Steps

Follow the math — each intermediate value is shown below.

Copied!

Summary

Enter HWB values and instantly get the RGB color with a live preview swatch and step-by-step conversion breakdown.

How it works

  1. Set the Hue (0–360°), Whiteness (0–100%), and Blackness (0–100%) using sliders or number inputs.
  2. If Whiteness + Blackness >= 100%, both are normalized proportionally to sum to 100% (producing a gray).
  3. The pure-hue RGB components are derived from the hue angle using the HWB algorithm.
  4. Each component is scaled by (1 − W − B) and whiteness is added, yielding the final R, G, B values (0–255).
  5. The Conversion Steps panel shows every intermediate value in the calculation.
  6. Click Copy RGB or Copy CSS to copy the result to your clipboard.

Use cases

Frequently Asked Questions

Related tools

Last updated: 2026-05-28 · Reviewed by Nham Vu