Added 3 digit hex support in ImageConverter

Fixes #220.
Merge pull request #221 from kfa/fix_three_digit_color_bug

Added 3 digit hex support in ImageConverter