Loading Color Swatch Programtically

Does anyone know how to code or load the swatch palette dialogue from Java Script? Also getting a reference to the selected RGBA?

If you have not tried them,

Stylus Rumble may know someone to refer to. http://www.stylusrumble.com/

Official Toon Boom on Discord: https://discord.com/invite/toonboom

Thank you! I will give both methods a try.