Fixed incorrect color type conversion
Merge pull request #288 from evildeeds/color-parse-bugfix

Fixed incorrect color type conversion