All Tools Text & Writing Image Tools Calculators Converters Developer Tools Security & Privacy

Color Converter

Convert a color between HEX, RGB, and HSL formats with a live preview swatch. Enter a value in any one format and the other two update instantly — handy for CSS, design handoffs, and digital art.

RGB:
HSL:

Why three formats?

HEX is the most common format in CSS and design tools. RGB maps directly to how screens mix red, green, and blue light. HSL (hue, saturation, lightness) is often easier for humans to reason about — e.g. "same hue, just darker" is a simple lightness change.

More Converters tools

We use cookies and local storage for basic site functionality and analytics. See our Privacy Policy for details.