The banded dye-murex Hexaplex trunculus secretes a mucus which was used by ancient Mediterranean cultures to create indigo dye.

Hexaplex trunculus

photo credit: Holger Krisp