What is the HEX to RGB Converter?
Designers often share colours as HEX codes (like #52B5B2), while many apps and CSS rules need RGB or HSL. This converter gives you all formats at once, with a live colour preview.
It accepts short and long codes (#abc or #aabbcc) and works right in your browser.
Features
RGB and HSL
Every common format, ready to copy.
Live preview
See the colour as you type.
CSS ready
Copy rgb() and hsl() values straight into your stylesheet.
How to use the HEX to RGB Converter
- 1
Type or paste the HEX code.
- 2
Read the values below.
- 3
Copy the one you need.
Who it is for
Web developers
Convert brand colours for CSS with transparency.
Designers
Move colours between design apps that use different formats.
Tips for better results
- Need transparency? Use the rgb value and add a fourth number between 0 and 1 for opacity.
Questions people ask
What is the difference between HEX and RGB?
They describe the same colour. HEX writes the red, green and blue values in base 16; RGB writes them as numbers from 0 to 255.
Three or six digits?
Both work: #5BB is short for #55BBBB.