Use the form below to convert images colors between RGB (0..255) and hexadecimal (0-F)
formats. To calculate a hexadecimal color, input the RGB color into the RGB boxes. To
calculate a RGB color, input the hexadecimal number into the hexadecimal boxes.
The color you enter will be automatically displayed in the panel below the input form.
Computers create colors out of three ingredients: red, green and blue.
The RGB format measures the amount of each color used as a number between 0 and 255.
For example, (255,0,0) represents the color red (because no green or blue is used).
The color (153,0,0) represents a dark red because less red is used. Hexadecimal numbers
use the range 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F instead of the usual decimal system (0-9).
The number 255 in hexadecimal form is FF. So red is FF0000 and dark red is 990000.
Simple graphics software typically require you enter the color in RGB format, while HTML
displays numbers in hexademical format. Basically, the tool below makes the conversion
between the two number formats for you.