Each branch of the Confederate States armed forces had its own service dress and fatigue uniforms and regulations regarding them during the American Civil War, which lasted from April 12, 1861, until May 1865.
The uniform initially varied greatly due to a variety of reasons such as location and limitations on the supply of cloth and other materials, State regulations that were different from the standard regulations, and the cost of materials during the war. Texas units, for example, had access to massive stocks of U.S. blue uniforms, which were acquired after Confederate forces captured a U.S. supply depot in San Antonio in 1861. These were worn as late as 1863.
Early on, servicemen sometimes wore combinations of uniform pieces, making do with what they could get from captured United States Army soldiers, or from U.S. and Confederate dead or just wear civilian clothing. There are some controversies about some of the exact details of a few of the uniforms since some of the records were lost or destroyed after the Civil War ended.