fixed problem with hex-color code containing '00's