Improve color parsing, hopefully fixes #7