implements variable to chose color