For CSS colors
Plain RGB values
For modern CSS
For Sass/SCSS
Values from 0 to 255. Higher values mean more red intensity. 0 is no red, 255 is maximum red.
Values from 0 to 255. Higher values mean more green intensity. 0 is no green, 255 is maximum green.
Values from 0 to 255. Higher values mean more blue intensity. 0 is no blue, 255 is maximum blue.

Try SEMrush Pro for free
Semrush is an SEO tool that does your keyword research, tracks the keyword strategy your competition uses, runs an SEO audit of your blog, looks for backlinking opportunities, and lots more.
Our HEX to RGB Converter instantly transforms hexadecimal color codes into RGB (Red, Green, Blue) format. RGB is the fundamental color model used by digital displays and web design.
Our HEX to RGB Converter comes with many amazing features:
RGB (Red, Green, Blue) is an additive color model where colors are created by combining red, green, and blue light in various intensities. Each channel ranges from 0 to 255, giving over 16 million possible color combinations.
Here is how to convert hex to rgb:
Q: What's the difference between HEX and RGB?
A: HEX is a hexadecimal representation of RGB. Both define the same colors, just in different formats. HEX uses base-16 (0-F), while RGB uses decimal numbers (0-255).
Q: Can I use RGB values in CSS?
A: Yes! Use the format rgb(r, g, b) in your CSS. Our tool provides this format ready to copy.
Q: Why use RGB over HEX?
A: RGB is more human-readable and allows for easier manipulation of individual color channels. It's also required for certain CSS features like rgba() with transparency.
FTC Disclosure: GoOnlineTools content is user/reader supported. This means that when you click on some of our links and make a purchase, we may earn a commission at no additional cost to you