So, I think the number of the button is a variable not a constant. So you need to make a widget with just a button and the onclicked event who call a HUD function, like this :
After you juste have to create a Widgetbutton for every color and put it where you need to:
you can pass the color to the HUD function if you need it.

