Navigation

Color Converter

Convert HEX, RGB and HSL colors with a live preview.

HEX: #0070f3
RGB: rgb(0, 112, 243)
HSL: hsl(212, 100%, 48%)

RGB is rounded to whole channels; HSL is rounded to whole units. Alpha transparency is not included.

Share

Last reviewed: Β· Testing methodology

How to use

Convert 3- or 6-digit HEX, whole RGB channels, or HSL values. Invalid values clear the preview and copy actions.

1

Choose input

Choose HEX, RGB or HSL.

2

Set options

Enter valid channel values.

3

Use the result

Preview and copy the required notation.

Examples and checks

Worked example

Use the settings below and inspect the saved result.

Input
#ff0000
Output
rgb(255, 0, 0) and hsl(0, 100%, 50%)

Limits and questions

Inputs are processed in your browser. Analytics and advertising can make separate network requests.

Supported behavior

Convert 3- or 6-digit HEX, whole RGB channels, or HSL values. Invalid values clear the preview and copy actions.

Limits and review

Supported sRGB channels only. RGB and HSL display rounding; alpha and wide-gamut spaces are unsupported.

Verification

Review record: 2026-08-26. See the documented behavior and limitations above, and the testing standards for the scope of review.

Testing methodology

When to use another workflow

Use a color-managed design application for ICC profiles, Display-P3, Lab, print production, or perceptual color matching.

Frequently asked questions

What are the limits?
Supported sRGB channels only.
What should I check before using the output?
RGB and HSL display rounding; alpha and wide-gamut spaces are unsupported.