made the palette generator waaaaay faster than my crappy algorithm