Fix long-known and didn't-care bug where colours would be either 0 or 255 because of silly floating point stuff.
signed long -> uint32_t because it makes more sense.
add usage to readme

One of these days I might actually explain the intended use case too :)