on vote reallocation , however , the red party gained votes predominantly from the second preferences of the green and illicit parties , whilst the blue party gained votes chiefly from the black and white parties .