Free · no signup · browser-local
HEX to RGB and HSL Color Converter With Alpha
Convert HEX, RGB and HSL colors in either direction. Adjust the color channels or opacity, preview the result and copy the CSS color value you need.
Color input
LOCAL#ACCDEArgb(172, 205, 234)hsl(208, 60%, 80%)Getting started
Enter a HEX, rgb(a) or hsl(a) value, refine RGBA or HSLA channels, then copy the format you need.
Before you use the result
This supports comma-separated CSS RGB/HSL and HEX 3/4/6/8, rather than every CSS Color 4 syntax.
Try an example
Convert #ACCDEA to RGB and HSL, then adjust alpha for a translucent overlay.
How it works
RGB and HSL are converted mathematically; alpha is rounded to three decimals for CSS display.
Frequently asked questions
Convert HEX, RGB and HSL colors with alpha preservation and a live preview.
How do I use HEX, RGB & HSL Color Converter?
Enter a HEX, rgb(a) or hsl(a) value, refine RGBA or HSLA channels, then copy the format you need.
Does this tool upload my data?
Inputs and files are processed in your browser. Page-view analytics do not contain your tool input.
What should I check before using the result?
This supports comma-separated CSS RGB/HSL and HEX 3/4/6/8, rather than every CSS Color 4 syntax.