Set the color using the component values as format.
format
a Color
A Babl pointer
The color components.
The length of the components array