 Persons of mixed race were collectively referred to as castas  By the end of the colonial period in 1821, over one hundred categories of possible variations of mixture existed.