The three were shifted to a hospital and they were stated to be out of danger, the police said.
The Fire and Rescue Services were alerted and the firemen sprayed water inside the factory and also at the chlorine gas jars, they said.
Based on a complaint from the factory owner, investigations have begun, they added.
Also read: Father-daughter killed after dumper rams into house