GenerateColor Method.