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.