didn't get the second point. the newColor overflow because it used as 8 bits in the final string flag.
and I'm not sure what should we do when newColor >= 256.