News

Let's take the example further, and convert each hexadecimal digit to its decimal equivalent and then add them: (16 2 x 1) + (16 0 x 15) + (16 0 x 4) = (256 + 240 + 4) = 500. Hex and binary in action.
BY Mark Wilson 1 minute read. Hex Invaders will teach you the logic behind hexadecimal colors. The code is really just based upon RGB values. Once you learn that, the game ...