Colour converter
Type a colour as hex, rgb or hsl and see it in every format.
Runs in your browser. Nothing is uploaded.
How to use
- Type a colour such as #006afe, rgb(0, 106, 254) or hsl(215, 100%, 50%).
- Read the matching HEX, RGB and HSL values.
- Copy the one you need.
Good to know
- Short hex codes such as #fa0 are expanded to six digits.
Questions
What is the difference between HEX, RGB and HSL?
They are three ways to write the same colour. HEX and RGB describe red, green and blue amounts. HSL describes hue, saturation and lightness, which is easier to adjust by eye.
Can I use 3-digit hex codes?
Yes. #fa0 is the same as #ffaa00.
Does it support transparency?
This tool converts solid colours.
Also known as: color converter, hex to RGB, RGB to hex, HSL converter.