move palette.py to oilslick repo