Assigning appropriate colors to the plots