Magic number 256

1 byte = 8 bits. One byte allows 256 colour depths, because the number of possible numbers in the range 0 to 1111 1111 is 256. This is the reason why we always see 256 and 512 if not 1024.

1 byte = 8 bits. One byte allows 256 colour depths, because the number of possible numbers in the range 0 to 1111 1111 is 256. This is the reason why we always see 256 and 512 if not 1024.