Works in Default, Dark/Light, and Custom palettes. Clicking the wheel without a key does nothing while this is ON.
Click a box, then press a key or a mouse input (L/M/R, MB4/MB5, Wheel Up/Down/Left/Right). It will capture and exit; click another box to set the next binding.
Tip: leave one empty if you only want a single binding per color.