How to generate a hex number for my colour palette