Pingali Venkayya was well-versed in various fields, with a particular passion for geology and agriculture. He specialized in diamond mining and was involved with the British Indian Army's participation in the Anglo-Boer War in South Africa. Influenced by Mahatma Gandhi, he engaged with Gandhi's ideas and was deeply interested in education. Between 1906 and 1911, Venkayya conducted a comparative study of various cotton crops.
The tricolour flag was conceived during the Indian National Congress convention held in Kakinada, where Pingali Venkayya developed a close relationship with Mahatma Gandhi. Venkayya proposed the idea of a national flag for India, which Gandhi supported. Gandhi asked Venkayya to design the flag and he studied the flags of 30 countries over five years, from 1916 to 1921, culminating in the creation of the tricolour.