A port of davidmerfield/randomColor to python.