No. Such laws were limited to the United States (and, before 1776, the American colonies that later became the U.S.). Marriages between people of different races were never prohibited in Britain (excepting the Statues of Kilkenny of 1367 which prohibited marriages between the English and the Irish and which were never enforced anyway) or elsewhere in Europe until the Nazis. Interracial marriage was prohibited by the American colonists (e.g. in Virginia and North Carolina) before the 1776 revolution, but even at that time they were perfectly legal in Britian.