Added ability to use hex codes with only 3 characters in HexColor