British colonial troops in India in 1848, were issued with khaki uniforms to give them camouflage in the arid dusty conditions they found themselves in. Khaki is the Hindi word meaning ‘dust covered’.
Take a look at old military photos, the type of uniform could give you a hint if your ancestor served overseas and the date.