Create an adornment popup

I’d like to add a selection adornment button on my node that when I click on it, it brings up a popup menu.

My goal is to place a “Color” adornment button on a node (only visible when selected), that when clicked will bring up a palette of color options. When a user clicks on any of the color options in the popup palette, have the node change it’s fill color to that selected color.

I’ve seen examples of using adornment buttons, but none that shows a popup when clicked.

Thanks

I assume you have seen Selection Adornment Buttons

There is also HTML Context Menu