Color Converter

Convert colors between HEX, RGB, HSL

Processed securely in your browser

Loading tool…

How to use this tool

Edit one opaque sRGB color using HEX, RGB or HSL inputs. Use the dedicated HEX-to-RGB and RGB-to-HEX pages when converting a whole palette.

  1. Enter three or six HEX digits, integer RGB channels, or HSL values.

  2. Review the synchronized swatch and numeric outputs.

  3. Correct any invalid field before using the output; invalid input hides the previous color result.

Practical example

HSL 120°, 100%, 50% produces rgb(0, 255, 0) and #00ff00. HEX #f80 expands to #ff8800.

Limits and troubleshooting

RGB is limited to 0–255 integers; HSL hue is 0–360 with saturation and lightness from 0–100%. Alpha, named CSS colors and color profiles are not supported. HSL rounds to 8-bit RGB.

About Color Converter

Convert supported HEX, RGB and HSL color values. Use valid component ranges when entering a color. All processing happens directly in your browser — your files never leave your device.