Skip to the tool
Moose

HEX to RGB converter

Turn a colour code like #5b7cff into RGB.

  • 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 HEX code.
  2. 2Read the RGB value.
  3. 3Copy it.

Good to know

  • A HEX code like #1E6FD9 and an RGB colour like 30, 111, 217 are two ways of writing the same colour.
  • Website code and design apps often want one or the other.

Questions

Is it free?

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

What does each number mean?

R, G and B are the amounts of red, green and blue light, each from 0 to 255.

More design tools