Added a function to generate the random color through 'perlin noise'