Pick a color or type a value and see it as HEX, RGB and HSL. Change any field and the others update.
How to use the Color Converter
- Use the color picker, or type a HEX code such as #0b7d5e.
- Or enter RGB or HSL numbers. The other formats update at once.
- Press Copy HEX, Copy RGB or Copy HSL to use the value in your CSS or design tool.
Tips and common uses
A colour converter translates between HEX, RGB and HSL so a brand colour from a design file works in CSS, graphics software or documents.
- Use HEX or RGB in web code and HSL when you want to adjust lightness or saturation.
- Check text and background pairs for contrast; low contrast hurts readability and accessibility.
- Screens differ, so a colour can look slightly different on another display.
Frequently asked questions
What is a HEX color?
It is a six-digit code that starts with #, giving the red, green and blue amounts in base 16. For example #ff0000 is pure red.
What does HSL mean?
Hue, saturation and lightness. Hue is the position on the color wheel from 0 to 360 degrees.
Why do values change slightly when I convert?
Colors are rounded to whole numbers, so a round trip between formats can shift a value by one.
More free tools
Free to use, with no sign-up or login. This tool runs in your browser and does not store your data.
Worked example
The ZinoLens green #0B7D5E equals rgb(11, 125, 94) in RGB. Paste a HEX value and read the RGB and HSL values, then copy the one your CSS or design tool needs.
When to use this tool
Use it to move colours between design tools, CSS and brand guides.
Good to know
- HEX and RGB describe the same colour in different notation.
- Check text contrast against the background for accessibility.
- Screens and printers show colours differently.
More free tools: Unit Converter, QR Code Generator, Image Resizer. Browse all ZinoLens tools.
