TTCP Buy me a coffee

HEX to RGB Converter

Convert any HEX color into RGB, RGBA and related shades for CSS, UI design and digital artwork.

Paste hex

Colorpicker

#6C63FFElectric Iris

Select color system

RGB

Convert HEX to RGB

HEX colors are common in web design, while RGB values are useful for CSS functions, design tokens and interface systems. Pick a color or paste a HEX value to get its red, green and blue channels instantly.

Use this converter when you need to move from a compact HEX code such as #6C63FF to a CSS-ready RGB value such as rgb(108, 99, 255). The related shade grid also helps you compare nearby tones before copying a final value.

How HEX to RGB conversion works

A six-digit HEX color contains three pairs: red, green and blue. Each pair is converted from base-16 into a value from 0 to 255.

Common uses
  • Writing CSS rgb() and rgba() values
  • Creating design tokens for UI systems
  • Checking color channels before animation or opacity changes
  • Sharing colors between design and development tools

HEX to RGB examples

Electric iris#6C63FF -> rgb(108, 99, 255)
Pure black#000000 -> rgb(0, 0, 0)
Warm red#E4002B -> rgb(228, 0, 43)

HEX to RGB FAQ

What is the difference between HEX and RGB?

HEX and RGB describe the same screen color in different formats. HEX is compact, while RGB separates the red, green and blue channels into numbers from 0 to 255.

Can I use RGB values in CSS?

Yes. CSS supports values like rgb(108, 99, 255) and rgba(108, 99, 255, 0.8) for transparency.

Is HEX better than RGB?

Neither is better. HEX is convenient for design handoff and tokens, while RGB is useful when you need channel values or opacity.

Related color tools