Color converter
Convert colors between HEX, RGB and HSL with a live picker — copy any format in one click.
#7c3aedrgb(124, 58, 237)hsl(262, 83%, 58%)Convert a color in 3 simple steps
Enter a color
Type a hex code like #7c3aed, or open the swatch and pick a color visually.
See every format
The HEX, RGB and HSL equivalents update together the instant you change the input.
Copy what you need
Hit Copy next to any format to drop it straight into your CSS, design file or code.
Why use this color converter
HEX, RGB & HSL in sync
All three notations update together, so you always have the format each tool expects.
Live color picker
Pick a color visually with the swatch instead of guessing hex codes by hand.
Shorthand expansion
Three-digit hex like #abc is expanded to #aabbcc automatically — no manual spelling out.
Easy tints & shades
Adjust Lightness in HSL to lighten or darken a color while keeping the same hue.
100% in-browser
Conversion runs locally with no sign-up and nothing uploaded.
Free & unlimited
No sign-up, no limits — works offline once the page has loaded.
HEX, RGB and HSL in sync
Designers and developers juggle the same color across three notations: HEX for CSS and design tools, RGB for canvas and image work, and HSL for intuitive tweaks to hue, saturation and lightness. Pick a color or type a hex code and all three update together, ready to copy.
It is perfect for matching a brand color, building a palette or translating a value from one tool to another. Everything runs in your browser — no sign-up, nothing uploaded.
How to convert a color
Type a hex code like #7c3aed, or open the swatch and pick a color visually. The RGB and HSL equivalents update the instant you change the input, and a Copy button next to each format drops it straight into your CSS, design file or code. Shorthand hex such as #abc is expanded automatically, so you never have to spell it out yourself.
Building and matching palettes
HSL makes it easy to derive tints and shades for a consistent palette, while HEX and RGB keep you compatible with CSS, canvas and image tools. While you design, the Lorem Ipsum generator fills your mockups with placeholder copy, and the QR code generator is handy for prototypes. Find the rest on the utilities page.