Tests for color conversions

Have to admit I don't fully understand this pre-multiplied alpha
things.  This works, though.