Colour Space & Bit Depth 101
Basically, life’s colour information is like a box of chocolates crayons…Colour information is stored in integers, not analog values — there are a discrete, countable number of colours
Read on at: Photography Stack Exchange