FPDF background color not changing
14,068
If you take a look at the documentation, you have to give a green and blue component value to have your color.
Otherwise you will have a gray level.
Comments
-
noobie-php about 2 years
Hi i am using FPDF i have some problem regarding setting background color.
currently i am using
$this->_FpdfGenerator->SetFillColor('239', 0, 0);
also i have tried this
$this->_FpdfGenerator->SetFillColor(239, 0, 0);
but background color is not changing.