Magnesium is anodized primarily as a primer for paint. A thin (5 μm) film is sufficient for this. Thicker coatings of 25 μm and up can provide mild corrosion resistance when sealed with oil, wax, or sodium silicate. Standards for magnesium anodizing are given in AMS 2466, AMS 2478, AMS 2479, and ASTM B893.