Skip to the tool
Moose

RGB to HEX converter

Turn an RGB colour into a code like #5b7cff.

  • HEX#5B7CFF
  • RGBrgb(91, 124, 255)
  • HSLhsl(228, 100%, 68%)
  • CSS--brand: #5b7cff;

Lighter

This colour

Darker

Stuck, or not sure this is the right tool?Moose knows every tool here and can point you the right way.

How it works

  1. 1Paste your RGB colour.
  2. 2Read the HEX code.
  3. 3Copy it.

Good to know

  • An RGB colour like 30, 111, 217 and a HEX code like #1E6FD9 are the same colour written two ways.
  • Most website builders ask for the HEX code.

Questions

Is it free?

Yes. Every tool on Moose is free, with no account, no daily limit and no watermark.

What's in a HEX code?

Three pairs of letters and numbers after the #: one pair each for red, green and blue.

More design tools