a better way of generating hex color values