Dyeing of fabrics and garments was frequently used to extend their life, economize, or as part of the mourning process. I found this very handy article in the July 1816 issue of The Repository…which provides instructions on the dyeing of fabrics.
Appearing in The Repository of Arts, Literature, Fashion… July, 1816