Use the color pieces

What are the pieces of color used for?