Converter Tools
Color Converter
Convert in either direction between HEX, RGB and HSL color values.
#2563EBHEX
rgb(37, 99, 235)RGB
hsl(221, 83%, 53%)HSL
Enter a color value.
HEX, RGB and HSL conversion
HEX is compact for CSS, RGB expresses red, green and blue channels, and HSL represents hue, saturation and lightness.
Accepted formats
HEX accepts 3- or 6-digit values. RGB accepts values such as 37, 99, 235 or rgb(37,99,235). HSL accepts values such as 221, 83%, 53% or hsl(221,83%,53%).