Chemical compounds of the element cobalt have been used for thousands of years as coloring agents in paint, ink, ceramics and glass. Cobalt glass, for example, owes its attractive deep blue color to a compound of cobalt and oxygen, cobalt oxide, CoO.