adding the formatted string and copy constructor for color