Dyes are made when you combine two berries. The color of the dye depends on the colors of the berries. Dyes can be used to dye clothes, hair, rugs, and wooden masks. To dye something, double click the dye color you want to use, then select the thing you want to paint in the popup menu. Dye can also be used to paint on structures and certain items.