Adds a function to generate random colors