RGB to HWB Converter
Type or paste a RGB color: With commas or spaces, rgba(), three bare numbers, a HEX code or a CSS color name.
hwb(0 0% 0%)RGB:
rgb(255, 0, 0)HWB:
hwb(0 0% 0%)CSS Usage:
background-color: hwb(0 0% 0%);color: hwb(0 0% 0%);border: 1px solid hwb(0 0% 0%);Popular Examples:
How to Convert RGB to HWB
RGB to HWB converts decimal RGB values to HWB (Hue, Whiteness, Blackness). For example, rgb(255, 0, 0) becomes hwb(0 0% 0%), and rgb(255, 128, 128) becomes hwb(0 50.2% 0%) — a tinted red. HWB is intuitive: the Whiteness and Blackness values directly control how much white or black is mixed into the pure hue. Supported in all modern browsers via the hwb() CSS function.
Why Use This Converter?
- Instant real-time conversion
- Free online tool - no registration required
- Live color preview
- CSS code examples
- One-click copy to clipboard