Image Pixels containing Integer value

In Pixels containing Integer value between 0-255, is there any logic behind this?
Like as per the bit memories.

hey @gaurav_sachar ,
Yeah there is a particular reason behind it .
RGB (Red, Green, Blue) are 8 bit each.
The range for each individual color is 0-255 (as 2^8 = 256 possibilities).

This is the reason these values are ranged between 0-255 .

I hope this helps.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.