Fix color conversion bug introduced in bd08f8ce

Forwarding Merge pull request #2 from vilarion/1.4

Fix color conversion bug introduced in bd08f8ce