Turn one colour into every format
Designers hand you HEX, CSS wants RGB, some tools want HSL. Pick or paste a colour and all three sit together. The CSS is ready to copy.
All three formats describe the same shade.
This runs in your browser. Your file is not sent to us.
How to use colour converter
- Pick or paste a colour. Use the picker or type a HEX code.
- Copy the format you need. HEX, RGB or HSL, with the CSS below.
- Paste it in your project. All three formats describe the same shade.
What you get
- HEX, RGB and HSL shown together
- Paste a code or use the picker
- A big preview of the exact shade
- CSS snippets ready to copy
Why this runs in your browser
Most free PDF sites ask you to upload your file. Then you wait. Then you hope they delete their copy. That is a bad deal for a payslip, a contract or a passport scan.
Colour Converter reads the file on your device and saves the result to your downloads folder. There is no upload and no copy on a server. For the details, see how it works.
Colour Converter questions
What is the difference between HEX and RGB?
They hold the same information in different clothes. HEX packs the red, green and blue numbers into six characters.
What is HSL for?
It describes a colour the way people think. The hue, how washed out it is and how bright it is. Great for picking matching shades.
Can I use any format in CSS?
Yes. Browsers accept HEX, rgb and hsl alike. Use whichever your team reads fastest.