Gets the RGB color components of a color.
the color
the red component
the green component
the blue component