I think you want 256 here if you want a number between zero and 255.