Changed the random color generation.