Skip to content

Color Converter

Convert between HEX, RGB, and HSL color formats in your browser.

Paste #RGB/#RRGGBB, rgb(), or hsl() and get all three forms.

Supports hex, rgb/rgba, and hsl/hsla inputs.

What does a color converter do?

It normalizes a color into HEX, RGB, and HSL representations.

How to convert colors

  1. 1

    Enter a color

    Paste hex (#rgb / #rrggbb), rgb(), or hsl().

  2. 2

    Convert

    See hex, RGB, and HSL equivalents.

  3. 3

    Copy

    Copy the format you need for CSS or design tools.

Color Converter FAQ

Alpha channels?

rgba/hsla alpha is accepted in parsing but output focuses on opaque hex/rgb/hsl.

Named colors?

Use hex or rgb/hsl values rather than CSS color names.

Uploaded?

No.

Related tools?

CSS Formatter; HTML Formatter.