Pigments or precursors thereof