turned getColor() into a classmethd
Merge pull request #310 from ricardogsilva/randomcolor

turned getColor() into a classmethd