PDF_setrgbcolor

(PHP3 >= 3.0.6, PHP4 )

PDF_setrgbcolor -- Sets drawing and filling color to rgb color value

Description

void pdf_setrgbcolor (int pdf document, double red value, double green value, double blue value)

The PDF_setrgbcolor_stroke() function sets the current drawing and filling color to the given rgb color value.

See also PDF_setrgbcolor_stroke(), PDF_setrgbcolor_fill().