Advertise

RGB to HEX

Convert RGB values to a HEX color code.

About RGB to HEX

Enter red, green and blue values from 0 to 255 – with the sliders or by typing – and get the HEX code for HTML and CSS instantly.

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.