The term comes from the aftereffect of inhaling metallic paints sprayed on a rag ... or “Those painters are wearing N95 masks because spray paint is dangerous to breathe in.” ...
The dangerous practice is a means of getting high via inhaling hydrocarbons by misusing a variety of legal products, including permanent markers, aerosol deodorant, nail polish, metallic paint, ...