Separate color palette for stroke and fill

I’d like to set different color palettes for stroke and fill

Right now I can do:

instance.setColorPalette([
  '#FF2222',
  '#000000',
  '#FFFFFF',
  'transparency'
])

But I really only want the first color for the stroke color palette and all of the above for the fill color palette.

Thanks!