Colour Converter
Convert between HEX, RGB and HSL and preview the colour.
Also called: color converter, HEX to RGB, RGB to HEX, HSL converter.
DEVELOPER
Runs locally in your browserColour Converter
Convert between HEX, RGB and HSL and preview the colour.
Ready. Fill in the fields above, then press Run tool.
Privacy note: this tool runs in your browser, so the text you enter stays on your device.
Watch: how to use the Colour Converter (11 seconds)
Recorded on a phone, steps written on screen, no sound.
About the Colour Converter
Type a colour in HEX, RGB or HSL and get the same colour in the other formats with a preview. Example: #ff5733 is rgb(255, 87, 51).
How to use the Colour Converter
- Enter your textType colour. An example is already filled in, so you can press Run tool first to see how it works.
- Press Run toolThe result appears right under the button.
- Copy or download the resultCopy text results with Copy output; when the tool makes a picture or file, use its Download button.
This tool works inside your browser: what you enter stays on your device.
Example
A sample input and the result the Colour Converter gives for it (produced by the tool itself, not typed by hand).
- Colour
- #ff5733
Result:
HEX: #ff5733 RGB: rgb(255, 87, 51) HSL: hsl(11, 100%, 60%)
Good to know
- What you need
- You type or choose: Colour
- Where it runs
- In your browser, on your device.
- Cost
- Free, no sign-up.
Questions
What is HSL?
Hue, saturation and lightness: easier for making lighter or darker versions.
Can I pick a colour from my screen?
Use the Screen Colour Picker.
More tools in Design
- Colour Palette Generator
- Colour Shades & Tints Scale (50–950)
- CSS Box Shadow Generator
- CSS clamp() Fluid Size Generator
- CSS Gradient Generator
- Image Colour Palette Extractor
- Lorem Ipsum Generator
- PX ⇄ REM Converter
- Screen Colour Picker (eyedropper)
- Screenshot Mockup (browser or phone frame)
- SVG Minifier
- App Icon & Favicon Generator (ZIP)