Skip to content

COLOR CONVERTER

Convert HEX colors
to RGB and HSL.

Enter a HEX color to see its RGB and HSL values with a live color preview.

HEX color

Your result will appear here.

WHY THIS TOOL

Key features

01

HEX, RGB and HSL

Enter a three- or six-digit HEX code to see its RGB and HSL equivalents.

02

Color swatch

Check the visible color alongside its numeric values.

03

Input validation

Invalid HEX input clears the previous result and shows an error.

HOW TO USE

How to use it

Add your input, run the tool, then check the result.

  1. 1

    Enter a code such as #FFF or #FFFFFF.

  2. 2

    Select Check color.

  3. 3

    Review the RGB and HSL values and the swatch, then copy the result if needed.

FAQ

Frequently asked questions

Does three-digit HEX work?

Yes. #FFF expands to #FFFFFF and displays RGB(255, 255, 255).

Does it convert transparency?

No. This tool accepts three- and six-digit HEX values, without an alpha channel.

Are HSL values rounded?

Yes. Hue and percentages are rounded to whole numbers for display.