Please remove all of the grammatical issues from the following text
a different color trash bags were distributed to citizens to be used at home to separate the trash according to each material.
Different color trash bags were distributed to citizens to be used at home to separate the trash according to each material.