«At the roots of the Notting Hill Carnival are the Caribbean carnivals of the early 19th century – a particularly strong tradition in Trinidad – which were all about celebrating the abolition of slavery and the slave trade. The very first carnival was an attempt to showcase the steel band musicians who played in the Earls Court of London every Weekend. When the bands paraded through the streets of Notting Hill, they drew black residents out on to the streets, reminding them of the Caribbean homes they had left behind.
In the days of abolition, there was a strong element of parody in the songs and dances Trinidadians performed. Having been forbidden to hold festivals of their own during the period of slavery, they now took full advantage of the relative new freedoms the ending of slavery brought them. Dressing up in costumes that mimicked the European fashions of their former masters, even whitening their faces with flour or wearing white masks, they established a tradition that continues in the costume-making of today's Notting Hill Carnival. The proper name for this aspect of the Carnival is Mas (derived from Masquerade).»
Find more here.