Adding a color swatch to front end?

Hi guys,

I’ve made a function to blend between two lighting scenes over time (linear interpolation), but as apparently you can’t access scene data for templating etc. I’ve had to set up the scenes as R G B B sliders for each light, with four lights in a room and two scenes I’ve now got 32 silders…

What would be brilliant would being able to have 8 color swatches in a goup, or something. Basically what I need is something like the color picker for RGB lights, that upon color select I can set the sliders automatically - or even better remove the need for sliders at all.

Another option I guess is writing some sort of function which takes a snapshot of current light settings and writes those to the sliders to ‘save the scene’, but having a million sliders clunking around in the background seems suboptimal.

Took me a while to find it. Take a look on this:

This should give you a dropdown menu with actions attached to it.

Found via this thread: Adding Input Select To Panel/Component