Never mind.
<div>I figured out the (divide by 255) part.</div><div>Cheers</div>