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%)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.
Frequently asked questions
How do I convert HEX to RGB?
Does it support short hex like #abc?
What is HSL and why use it?
Is it free and private?
What is the difference between HEX and RGB?
How do I make a color lighter or darker?
Can I get an RGBA value with transparency?
Are HEX colors case-sensitive?
More free tools
Fast, private utilities that run entirely in your browser.