Enter a hex color, WITHOUT the # sign. A example is FFFFFF. http://www.javascripter.net/faq/rgbtohex.htm
This works by finding the separate hex number for R, G, and B, (if it was AABBCC it would find AA, BB, and CC) then converting to decimal.