Update random colour function for shade range