Converter

Color converter

HEX, RGB, and HSL in one place.

RGB

RGB: rgb(99, 102, 241)

HSL: hsl(239, 84%, 67%)

Color converter

HEX, RGB, and HSL in one place.

How to use this tool

Enter a color value and compare its HEX, RGB and HSL representations. Copy the format required by your stylesheet, design tool or application.

Understanding the result

These formats describe the same color in different ways. Check channel ranges and rounding; a color conversion alone does not measure contrast or accessibility.

Processing and privacy

Calculations, file conversion and text processing run in your browser. Your input is not uploaded to a conversion server. Keep source data and results separately. Some tools retain working state on this device so you can continue later.

Help improve this tool

Did this tool work the way you expected?

Send a quick report with a screenshot or example file. The tool name will be filled in for you.