Here is the answer to why colors range from 0 to 255. It has to do with bytes and their ability to hold up to 256 unique values.

 

https://www.quora.com/Why-is-color-measured-on-a-scale-of-0-to-255

Advertisements