Remove few color options

Hi,
Greetings!

My question is, is it possible to remove few color options in tool dropdown
and just keep “red”,“yellow”,“Green”,“Blue”,“Black” in it?

If not then please suggest any method to do it.

Regards
Abhishek Maurya

Hi,

I think instance.setColorPalette is the API you are looking for. Can you try and let us know if it doesn’t work?

Thanks,
Zhijie