HexColor helper improved