Cobalt(II) chloride is often added to drying agents as an indicator for the presence of water. When the drying agent is blue it is still active and when it is pink it is exhausted or fully hydrated at which point the drying agent no longer works.
This is what cobalt(II) chloride looks like when it is not hydrated:
This is what cobalt(II) chloride looks like when it is hydrated (exhausted):
Which is the correct chemical formula of hydrated cobalt(II) chloride, or cobalt(II) hexahydrate as it is called?