Hex to RGB Converter

Bidirectional Color Translator with Live Preview

Preview
Hex Code
#
RGB Values

How does the Hex to RGB Converter work?

A Hexadecimal (Hex) color code is a 6-digit alphanumeric code used in web design to represent colors. It usually starts with a hash symbol (#). The code is divided into three pairs: the first two characters represent Red, the next two Green, and the last two Blue (RRGGBB).

Each pair can have a value from 00 to FF (which is 255 in decimal). This allows for over 16 million potential color combinations.

What is RGB?

RGB stands for Red, Green, and Blue. It is a color model where these three primary colors are added together in various ways to reproduce a broad array of colors. Each value ranges from 0 to 255.

For example, pure red is rgb(255, 0, 0), while white is rgb(255, 255, 255).

Common Color Codes

Color Hex RGB
White #FFFFFF rgb(255, 255, 255)
Black #000000 rgb(0, 0, 0)
Red #FF0000 rgb(255, 0, 0)
Green #00FF00 rgb(0, 255, 0)
Blue #0000FF rgb(0, 0, 255)
Copied to clipboard!

More Free Tools

View All Tools →