Tuesday, July 19, 2011

Convert hex into decimal for color code.?

In hexadecimal color codes, the first two digits correspond to the amount of red, the second pair is the amount of green and the third pair is the amount of blue. In your case, you have R=0x32, G=0xCF, and B=0x9B (in hex). Doing the conversions, that results in R=50, G=207, B=155 (in base 10)

No comments:

Post a Comment