Fix off-by-one denominator in color conversion

Color conversion from 00-ff to [0, 1.0] shall use 255.0 as denominator.