Nicaragua's flag has undergone a number of changes in the last 200 years but the first addition of purple appeared in 1823 when the country was part of the United Provinces of Central America.