TXT · Text & Data tools

HSL to HWB Converter

Active color#000000

hsl(0, 0%, 0%)

HSL Input
HWB Output
1Active Line0Valid Items
Go To Full Color Converter

Convert HSL coordinates to the HWB color model. Paste your HSL values into the input area to instantly see their HWB equivalents. The conversion updates live as you type or adjust values.

HSL input

The tool accepts CSS hsl() formats, using degrees for hue and percentages for saturation and lightness. You can paste standard strings like hsl(188, 86%, 53%) or hsl(188 86% 53%). The parser automatically extracts the hue, saturation, and lightness to perform the conversion.

HWB output

The resulting output is formatted as CSS Color 4 hwb(). It describes the same sRGB color using the original hue, but controls the tone using whiteness and blackness percentages. Click the copy button in the output panel to quickly grab the converted results.

Batch conversion

You can convert multiple colors simultaneously by placing one HSL value per line in the input pane. The converter processes each line independently and returns a matching list of HWB values. Invalid lines will display a targeted error message so you can quickly spot formatting issues.

Visual color picker

The active color picker visually reflects the color of the current line your text cursor is on. Adjusting the picker automatically updates the specific HSL value in your input text to match your new selection.

Frequently Asked Questions

CSS hsl(h, s%, l%): hue in degrees (0–360) and saturation and lightness as percentages with the % sign. Paste one color per line for batch conversion.

CSS Color 4 hwb(h w% b%), space-separated, where whiteness and blackness are percentages. Example: hwb(188 13% 7%).

Yes. Both use the same hue wheel, so the hue value usually stays the same. Only the tone controls differ: HSL uses saturation and lightness, HWB uses whiteness and blackness.

Yes. Both describe the same sRGB color, so converting between them changes the coordinates, not the gamut.

No.

Try one of our format-specific converters below

Full Color Converter tool

Explore Our Tools

Browse all tools