hex to rgb patch

Fixes the issue where shorthand hex values weren't properly converted to rgbs.