hexToRGB now accepts short hex codes (#EEE)

I tried to use the short code #EEE and got a red background, so I added a quick fix to handle that correctly.