How your computer sees a pixel

6-character hexadecimal


A pixel is stored in your computer as a string of 24 ones and zeros but is commonly represented by 6 characters using the digits 0 through 1 and the letters A through F.

Mouse the last digit!

This is called a hexadecimal number because there are sixteen possible values for each character: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F.

Each character represents four bits, that is, four of the ones or zeros of the 24-bit binary number.

There are 16,777,216 possible combinations.

Therefore, a pixel can be any one of 16,777,216 colors from total black (000000) to pure white (FFFFFF).

Next page