August Wilhelm von Hofmann, Industrieller (Entwicklung Anilinfarben)