Color Converter
Convert between HEX, RGB, and HSL. Editing one format updates the others.
- Runs in your browser
- No sign-in needed
Color input
Converted values
Updates as you typePreview
HEX
#3b82f6
RGB
rgb(59, 130, 246)
HSL
hsl(217, 91%, 60%)
How to use Color Converter
When to use
Use to turn a HEX color from a design mockup into CSS rgb() or hsl() values, or to move RGB or HSL values back to HEX.
What to input
Type into any field - HEX (#RRGGBB or #RGB, # optional), RGB (rgb(255, 87, 51) or 255, 87, 51), or HSL (hsl(11, 100%, 60%) or 11, 100, 60) - or use the color picker, and the other formats and the preview update instantly.
Usage example
e.g. Entering #FF5733 in the HEX field immediately gives rgb(255, 87, 51) and hsl(11, 100%, 60%), each with a copy button for pasting into CSS.
Things to check
Transparency is not supported, so #RRGGBBAA, rgba(), and hsla() values are not recognized. HSL is rounded to whole numbers, so values can shift slightly on the way through RGB - typing hsl(11, 100%, 60%) gives rgb(255, 88, 51), not the 87 from #FF5733.
Related tools
Pull the dominant colors from an image into a palette — useful for design and branding work.
No sign-in neededProcessed on the server
Generate placeholder text (Lorem ipsum or Korean) for mockups and layouts.
No sign-in neededRuns in your browser
Your input is processed only in this browser and is never sent to a server.