void cpdf_setrgbcolor
(int pdf document, double red value, double green value, double blue value);The cpdf_setrgbcolor_stroke() function sets the current drawing and filling color to the given rgb color value.
See also cpdf_setrgbcolor_stroke(), cpdf_setrgbcolor_fill().