To dye with natural colors, the fiber needs to be opened up with a suitable mordant so that the natural substance can settle into the fiber structure. The material to be dyed is heated in the mordant for about an hour.
Iron sulfate can be used to add nuances.
It’s also used in making iron gall ink.