HEX to RGB Converter

Turn a hex colour code into its red, green and blue values.

πŸ”’ Runs in your browser⚑ Instant resultsπŸ†“ Free, no sign-up

How to use HEX to RGB Converter

  1. Pick a colour with the colour box, or type a code such as #4f46e5, rgb(79, 70, 229) or a name like tomato.
  2. The results update instantly.
  3. Click Copy or any colour swatch to copy its code.

What is it good for?

Turn a hex colour code into its red, green and blue values.

Designers and developers move between colour formats constantly, and getting a conversion even slightly wrong can make a brand colour look off. People most often reach for it when converting design-tool values into CSS, matching a colour you spotted to a code you can use and checking that text is readable on a background.

See it in action

For example, the colour #1E90FF comes out like this:

ResultHEX: #1E90FF RGB: rgb(30, 144, 255) HSL: hsl(210, 100%, 56%) HSV: hsv(210, 88%, 100%) CMYK: cmyk(88%, 44%, 0%, 0%) Nearest name: steelblue
Good to know. Short codes like #f80 are expanded to #ff8800 for you.

Using it day to day

The layout adjusts to phones and tablets, so you can use it on whichever device is handy.

Use the copy and download buttons where they appear. They save you from selecting text by hand, which is easy to get wrong on a phone.

Privacy

Colours are calculated in your browser. Nothing leaves your device.

Frequently asked questions

Is HEX to RGB Converter free to use?

Yes, completely free. There is no sign-up, no watermark and no limit on how many times you use it.

Is my data safe when I use HEX to RGB Converter?

Colours are calculated in your browser. Nothing is uploaded.

Does HEX to RGB Converter work on my phone?

Yes. The layout adapts to small screens, and the tool works in current versions of Chrome, Edge, Firefox and Safari.

Any tips for using HEX to RGB Converter?

Short codes like #f80 are expanded to #ff8800 for you.