HEX to RGB Converter

HEX to RGB Converter

Convert color codes from HEX triplets color schema to RGB (red, green, blue)

Enter an hexadecimal color code used in HTML and get instantly the RGB color code.

Insert HEX color

What is a HEX color?

A HEX triplet is a six-digit, three-byte hexadecimal number used in HTML, CSS, SVG, and other computing applications to represent colors.

The bytes represent the red, green and blue components of the color. One byte represents a number in the range 00 to FF (in hexadecimal notation), or 0 to 255 in decimal notation.

This represents the least (0) to the most (255) intensity of each of the color components. Web colors specify colors in the True Color (24-bit RGB) color scheme. The HEX triplet is formed by concatenating three bytes in hexadecimal notation, in the following order:

  • Byte 1: red value (color type red)
  • Byte 2: green value (color type green)
  • Byte 3: blue value (color type blue)

For example, consider the color where the red/green/blue values are decimal numbers: red=36, green=104, blue=160 (a grayish-blue color). The decimal numbers 36, 104 and 160 are equivalent to the hexadecimal numbers 24, 68 and A0 respectively. The HEX triplet is obtained by concatenating the six hexadecimal digits together, 2468A0 in this example.

If any one of the three color values is less than 10 HEX (16 decimal), it must be represented with a leading zero so that the triplet always has exactly six digits. For example, the decimal triplet 4, 8, 16 would be represented by the HEX digits 04, 08, 10, forming the HEX triplet 040810.

Share this tool

Did u like it? Share it!

Related tools

Try these one!
Online image editor

IMAGE EDITOR

Zoom in, scale, flip, rotate, crop and resize your images.

Upload and edit yours images file for free with dunplab image editor.

Go edit
Generate favicon for web, Android, iOs, Microsoft and Apps

FAVICON GENERATOR

Generate icons for web, Android, iOs, Microsoft and Apps.

Show a graphical representation of your site within browser's address bar.

Go generate
Online image color palette

IMAGE COLOR PALETTE

Upload yours images and get the color palette.

Get color palette for all dominant colors identified in your uploaded image.

Go get
Site Snapshot

SITE SNAPSHOT

Quicly capture any web page screenshot and thumbnails.

Get image rendering on desktop and mobile and thumbnails filmstrip with loading timing.

Go capture