Updated the random colour function