Color Converter - Online Toolbox

Color Converter

Free online color value converter. Enter HEX, RGB or HSL to instantly convert between all formats with alpha support and a live color preview — all in your browser.

Enter a color value
HEX
#2563eb
HEXA
#2563ebff
RGB
rgb(37, 99, 235)
RGBA
rgba(37, 99, 235, 1)
HSL
hsl(221, 83%, 53%)
HSLA
hsla(221, 83%, 53%, 1)
Convert between HEX, HEXA, RGB, RGBA, HSL and HSLA with a live preview

FAQ

How is this different from the Color Picker?
The Color Picker lets you adjust a color with sliders and generate palettes; this tool takes an existing color value (e.g. #FF5733 from a design file) and instantly converts it to HEX, RGB, HSL and more for copying into code or stylesheets.
Does it support alpha / opacity?
Yes. Inputs like #RRGGBBAA 8-digit HEX, rgba(), and hsla() are parsed with alpha, and the output includes HEXA, RGBA and HSLA.
Can it recognize color names like "red"?
The current version only supports HEX, RGB/RGBA and HSL/HSLA numeric formats. CSS color names are not supported — use the Color Picker to find the HEX value first, then paste it here.