TXT · Text & Data tools

HEX to HWB Converter

Active color#000000
Hex Input
HWB Output
1Active Line0Valid Items
Go To Full Color Converter

HEX to HWB conversion

Paste your hex codes into the input pane to receive CSS Color 4 hwb() strings. The tool accepts both 6-digit (#RRGGBB) and 3-digit (#FFF) shorthand forms. The output format uses a space-separated syntax for hue (0–360°), whiteness (0–100%), and blackness (0–100%).

Active color tracking

The visual color picker synchronizes with your cursor position. Clicking a line in the input pane updates the picker to preview that specific color. Dragging a new value in the picker automatically overwrites the active line with the updated hex string.

Batch list processing

The tool processes multiple colors simultaneously. Paste a list of hex values, one per line, to convert an entire palette at once. The output pane mirrors your line breaks, generating a matching list of HWB values that can be copied directly to your clipboard.

Frequently Asked Questions

Six-digit codes like #22D3EE and 3-digit shorthand like #fff, which expands to #ffffff. Paste one color per line for batch conversion.

A CSS Color 4 model that describes a color as a hue plus how much white and black are mixed in. The form is hwb(h w% b%), for example hwb(188 13% 7%).

CSS Color 4 writes HWB with spaces, not commas. The hue is in degrees and whiteness and blackness are percentages.

Current versions of the major browsers support hwb(). For older targets, output rgb() or a hex code instead, since those have the widest reach.

No.

Try one of our format-specific converters below

Full Color Converter tool

Explore Our Tools

Browse all tools