Skip to content
ZeroServer.tools

HWB to HEX Converter

Convert HWB (Hue, Whiteness, Blackness) colors to HEX.

200°
10%
10%
#1AA1E6
rgb(26, 161, 230)
hwb(200 10% 10%)

How HWB to HEX conversion works

HWB (Hue, Whiteness, Blackness) is a CSS Color Module 4 color model that describes a color by its hue angle (0–360°) plus how much white and how much black are mixed into it. It's designed to be more intuitive for humans to tweak by hand than RGB. To convert to HEX, the hue first produces a pure, fully-saturated color (as in HSL with 100% saturation and 50% lightness), then that color is blended toward white by the whiteness percentage and toward black by the blackness percentage. If whiteness and blackness add up to 100% or more, the result is a neutral gray. For example, hwb(0 0% 0%) is pure red (#FF0000), and hwb(0 100% 0%) is pure white (#FFFFFF). All conversion happens locally in your browser — nothing is uploaded.

Private & free — this tool runs entirely in your browser.

Recommended: IndieKit Ship your Next.js startup in days.affiliate

Related Converters tools