variable 1 (string) = "255,50,100"
Selection = 1 > spritefonte1 set color rgb(tokenat(variable 1, 0, ","),tokenat(variable 1, 1, ","),tokenat(variable 1, 2, ","))
etc.
The rgb values are stored as tokens in a string, separated by ",".
Rather than setting the colour to rgb(255,50,100) or whatever it is, then we get token 0 = 255, token 1 = 50, token 2 = 100.