Extracted RandomColor and color calculations to a seperate class