I don’t recall exactly. You’d have to look at the source or test it. But if you created a color with for example:
Set color to rgb(12, 33, 177)
“Color” would be a single number with the three colors packed in.
Then you could get individual color components from that number with
Red = color%256
Green =int( color/256)%256
Blue = int(color/256/256)%256
There may also be expressions to help with that but I haven’t checked.