Choose a background colour and contrast to a random line colour. If the colour is ok add it to a python list of hexcolours and print the list to file once finished.