Added 3 digit hex support in ImageConverter

Fixes #220.