Home / Color Tools / RGB to HSL Converter
Color Tools

RGB to HSL Converter

Enter red, green, and blue values to calculate HSL.

—HSL
—HEX
—HSV
—Relative luminance

Exact RGB→HSL conversion & round-trip proof

Treat conversion as a numeric representation task. Validate RGB channel bounds, compute HSL with explicit rounding, show HEX/CSS syntax and reconstruct RGB from the HSL result to expose any rounding error.

—HSL
—HEX
—Round-trip error
—Channel validation
Ready.
RepresentationValueRounded formConversion evidence

Round-trip error is the maximum absolute RGB-channel difference after reconstructing from the rounded HSL values. It is a rounding diagnostic, not a color-difference metric.

Color and accessibility boundaries

HEX/RGB/HSL/HSV/OKLCH conversions are numerical color-model operations. CMYK output is an RGB-derived approximation rather than ICC-profiled print proofing. WCAG contrast ratios measure luminance contrast only and do not certify a full interface. Color-blindness previews are design simulations, not medical tests.

Search by task, tool name, or category. Press Esc to close.
Start typing to find a tool.