Color Converter
About this tool
Convert between HEX / RGB / HSL and preview the color instantly—ideal for quick palette tweaks or checking how a shade should be expressed in another format.
HEX / RGB / HSL converter
—
How to use
- Enter a value in any field to update the other formats automatically.
- Check the preview swatch to confirm the resulting color.
Notes
- Typical use cases include converting design specs (for example RGB → HEX) or fine-tuning hue, saturation, and lightness in HSL.
- The HEX field accepts
#RRGGBB
or#RGB
; the leading#
is optional. - RGB expects three comma-separated integers from 0 to 255.
- HSL expects
H, S%, L%
; S and L may include or omit the % symbol. - Invalid values are ignored and the most recent valid color stays in place.
All processing happens in your browser; no data is sent.