HEX, RGB and HSL converter
Converts colour values between HEX, RGB and HSL – for web design, CSS, graphics software and brand guidelines.
What you enter is processed in this browser only and is not transmitted.
Loading tool …
How it works
- Enter a colour in any format or pick one with the colour picker.
- Click “Convert”.
- Copy the value you need with one click.
Notes and limitations
- Accepts
#0b6b57,#0b6,rgb(11 107 87),rgb(11, 107, 87),hsl(168 81% 23%)and CSS colour names. - HSL values are shown rounded, so converting back can differ very slightly.
- An alpha channel (transparency) is recognised but not included in the conversion.