Start with a quarter cup of water and a quarter cup of baking soda mixed. After brushing the hat with a brush, apply some powdered or liquid dishwashing soap. Try not to use a detergent with bleach or a bleach.