You will be given a definition of a task first, then some input of the task.
Given an entity, a before event, an after event, and an attribute related to the entity, generate a sentence as output. Your sentence should show the changes in the attribute of the entity.

entity: pieces 
before: yellow 
after: browned 
attr: color
Output:
color of pieces was yellow before and browned afterwards