Sets the color based on the color object given.
An object containing r, g, b and optionally a values in the range 0 to 255.
r
g
b
a
This Color object.