Cobalt is commonly used in electroplating because of its appearance, hardness, and resistance to oxidation. Cobalt compounds have been used for centuries to create a rich blue color in glass, glazes, ceramics, porcelain, pottery, tiles, and enamels.