rbga() coloring not correct for float value of a

This fixes issue #15