updated randomdark method in utils.Colors to verify that hex value is always valid