parse alpha for color. Fixes #430