Advertise

HEX to RGB

Convert a HEX color code to RGB (and RGBA).

About HEX to RGB

Type a 3, 4, 6 or 8 digit HEX code such as #FF5733 and get the RGB value rgb(255, 87, 51), with alpha as rgba() when the code has one, and every other format too.

How to use

  1. Pick a color, type any color code (HEX, RGB, HSL, a CSS name…) or open an image.
  2. Adjust the options – the result updates instantly.
  3. Click any code or swatch to copy it, or send the color to another tool with Open in….

Everything runs in your browser: your colors and images are never uploaded or stored.