rgb() expression takes three separate values, for r, g and b color channels.
In the event sheet you enter these values manually, for example - rgb(255, 154, 162)
When you import colors from an json/array, you also need to receive three separate values. However in your case you put all three numbers into one field, so it became one string value "255, 154, 162"
tokenat() allows to split this string into 3 numbers.
Another option is to add 3 columns into your array, to store each color channel (r, g, b) in its own column. Then you could use this expression:
rgb(bgColorArrayEditor.At(index,0), bgColorArrayEditor.At(index,1), bgColorArrayEditor.At(index,2))