multi-texture-format: Fix limited range quantization
And stop pre-computing values, making errors like this harder to spot.
The values 0.0625 (16/256) and 0.5 (128/256) were slightly off, resulting e.g. in "black" not being #000000 but #010001 RGB instead.
Related: