HEX to RGB Converter

Convert a hex color to RGB and HSL.

RGB
HSL

How it works

Pick a color. RGB splits the hex code into red, green and blue (0 to 255); HSL is derived from those values.

FAQ

How do I read a hex color?

Two hex digits each for red, green and blue, for example #ff0000 is pure red.

Can I use the RGB value in CSS?

Yes, paste it as a color value.

Also searched as

hex to rgb · hex to rgb converter · hex to hsl · color code converter · hex color to rgb · convert hex to rgb online · rgb color code · hex color picker · css color converter · hex to hsl converter

More tools