the amount of distinctive colours a pixel can symbolize depends upon the colour depth expressed in the amount of bits per pixel. A common way to lower the amount of details needed in electronic video is by chroma https://www.youtube.com/watch?v=thvk3EpRe5M