Developer Tools
Color Converter
Enter a HEX or RGB color (or pick one) to instantly see it in HEX, RGB and HSL, with a live preview swatch and one-click copy for each format.
HEX
#2563eb
RGB
rgb(37, 99, 235)
HSL
hsl(221, 83%, 53%)
Frequently asked questions
How do I convert HEX to RGB?
Each pair of hex digits is the red, green and blue value in base 16. For example #2563eb is red 0x25 (37), green 0x63 (99), blue 0xeb (235) — rgb(37, 99, 235). This tool does it instantly.
What is HSL?
HSL stands for Hue, Saturation and Lightness. It describes a color the way people think about it — its base color, how vivid it is, and how light or dark — which makes it handy for designers.