This package will provide a general template to build any themed color palette package (like wesanderson). Create a list of palettes (or derive them directly from images), and import a couple of functions from this package and you'd be good to go.
examples coming soon.