Skip to content
Browser tool Runs locally

Color Converter

Convert colors between HEX, RGB, and HSL with a visual preview.

Color converter
#2563EB
rgb(37, 99, 235)
hsl(221, 83%, 53%)

Conversion is calculated locally in your browser.

HEX, RGB, and HSL

HEX and RGB describe red, green, and blue channel values in different forms. HSL represents hue, saturation, and lightness, which can be easier to reason about when adjusting a palette.

Use the same color in different formats

Enter a six-digit HEX value or adjust the RGB channels. The equivalent HEX, RGB, and HSL values update together and can be copied into CSS or design documentation.

Frequently asked questions

What HEX format is supported?
The input accepts standard six-digit RGB hex colors such as #2563EB.
Are alpha values included?
No. This version converts opaque RGB colors only; it does not add an alpha channel.
Does conversion happen locally?
Yes. The calculations run in your browser.

Related tools