The story of khakki color dress

                                                             BRITISH ARMY UNIFORM BEFORE  1850

                                             In the mid-1800s, British soldiers in India began dyeing their white uniforms to a dusty color using anything from muddy water to tea (Camellia sinensis). Cutch (the same as the astringent catechu) was a reliable dye already in use for calico-prints in India's cotton fabric industry. The dye created the color khak, an Indian word for dust, earth, and ashes.  Attempts at camouflage under war uniforms were in full swing during the middle of the 18th century, but breaking the trend came the Khaki, which the British adopted from India    
John Haller, was  a trained European of Basel Mission at mangalore and calicut, in India  in 1840's He also invented new dyes and colour out of indigenous ingredients. The invention of Khaki dye is attributed to him.

The cotton twill uniform wore well, did not show dirt as easily as white, and was not as easy a target as white, red, or black
In 1846 Sir  Harry lumsden raised a corps of guides for frontier service from British Indian recruits at peshavar. Regiments serving in the region had adopted properly dyed khaki uniforms for active

U.S. military adopted the khaki uniform in 1898 during the Spanish-American War. By World War I, the military added a green to cutch creating olive-drab

 so that soldiers would not stand-out against the surroundings of the European theater