Convert colors between HEX, RGB, and HSL formats with a live preview. Pick or type any value.
Designers and front-end developers matching colours across formats.
Pick or type a colour
Use the colour swatch or type a HEX value like #6366f1.
See every format
HEX, RGB, and HSL values are shown together with a live preview.
Copy what you need
Click the copy icon next to the format you want to use.
Designers and developers need the same colour in different formats — HEX for CSS, RGB for canvas, HSL for adjusting lightness. This tool converts between all three and previews the result so you never copy the wrong value.
CSS styling
Convert a designer's HEX colour into HSL to fine-tune lightness.
Canvas & graphics
Get RGB values for drawing APIs that need numeric channels.
Brand consistency
Translate a brand colour across formats for different tools.
Yes. Three-digit shorthand like #63f is expanded automatically.
The converter focuses on solid colours (HEX, RGB, HSL). Add opacity separately in your CSS if needed.
Yes. It runs entirely in your browser with no limits.