Best way to set multiple light bulbs

I am experimenting lights as a newbie.
I am trying to have a widget on my dashboard which will turn on and customize multiple unrelated HUE lightbulbs. In essence:
Toggle Bulb A with intensity Y and color X
Toggle Bulb B with intensity YY and color XX
Toggle Bulb C with intensity YYY and color XXX

I have tried with standard “light” widget or with a scrip with “*light.turn_on” service but not getting to where I want.

Any suggestions?
Thanks for your help
E

you should use a script.

Thanks for the help. I have been playing with a script. I can get white bulbs to turn on on the right brightness, but the last line of the script does not work to set the rgb color.

>   hakscript:
>     alias: 'hakscript'
>     sequence:
>       - service: light.turn_on
>         data:
>           entity_id: light.desk_l
>           brightness: 50
>       - service: light.turn_on
>         data:
>           entity_id: light.desk_r
>           brightness: 255
>       - service: light.turn_on
>         data:
>           entity_id: light.computer_light
>           brightness: 188
>           rgb_color: 254, 0, 0

SOLVED…
Thank you