Following the sneak attack on Pearl Harbor on December 7, 1941, American production was rapidly mobilized for war. Production of most non-essential consumer goods was halted or curtailed, and manufacturing facilities were converted to military use, with a typewriter company producing machine guns and auto plants producing bombers. Millions worked in these plants, and with so many men in the armed forces, 6.5 million women eventually became factory workers. Consumer goods that had once been abundant were rationed, metals were diverted to ships, planes, guns, and ammunition, gasoline was in short supply, and used cooking oils were recycled to make glycerin for explosives. Some color dyes also disappeared from civilian use, most visibly when the dark green on Lucky Strike cigarette packaging was changed to white because the green dye was used for millions of Army olive drab uniforms. From 1939 to 1945, America produced 41,000,000,000 rounds of ammunition, 36,000,000,000 yards of cotton textiles, 303,713 aircraft, 211 submarines, 2,400,000 military vehicles, 100,000 tanks and armored vehicles, 27 aircraft carriers, 10 battleships, 110 escort carriers, 83,000 landing craft, and 41,000 guns and howitzers.