You just only done half of it.
Yoy have converted the minuses from the RGB value sets to [ ] in node red, but you have not done the same for the entire list set.
You have converted
- 255
- 0
- 0
into
[255,0.0]
and the same for the rest of the RGB sets.
Your list now looks like this
Only takes care of the “first color” and since I need to have 3 color’s sent that I need to basically extend that line of text for 2 additional colors? (like below)
When you see minuses in HA, then it means it is elements in list ordered one under the next with each line with a minus at the same indentation showing the next element.
Lists in Node-Red is put inside [ ] and elements are separated with comma.
You have here a list with elements that are lists too.
The lists inside the elements you have concerted correct to [R,G,B] and you now need to do that with the next one to get [ [R,G,B], [R,G,B], …]
You have to do the editing yourself, since I am on a phone and code examples are hard to do.