(PHP3 >= 3.0.8, PHP4 >= 4.0b4)
void cpdf_setrgbcolor (int pdf document, double red value, double green value, double blue value)
void cpdf_setrgbcolor
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().