Creating custom color palette for dropdown in powertable cell

Hi,

I have been looking through the API, but I can’t seem to figure out how to do this.
Getting the “standard” palette is no problem, but it would be nice to set the colors from a dataset etc.