title: FPDF- SetFillColor
body: <p>Could anyone explain to me how this function in FPDF works? I can't seem to get any color from it, using this code:</p>
  
  <pre><code>function Header()
      {
          // Logo
          $this-&gt;Image($_SERVER['DOCUMENT_ROOT'].'/assets/documents/barcodes/'.$_SESSION["loggedin"].'.png',10,6,30);
          // Arial bold 15
          $this-&gt;SetFont('Arial','B',15);
          // Move to the right
          $this-&gt;Cell(80);
          // Title
          $this-&gt;Cell(75,25,'Technische beurs Sax',1,0,'C');
          // Line break
          $this-&gt;SetFillColor(0, 255, 0);
          $this-&gt;Ln(40);
      }
  </code></pre>
  
  <p>This function gets called in a class PDF that extends the normal FPDF class, according to this example: <a href="http://www.fpdf.org/en/tutorial/tuto2.htm" rel="nofollow">http://www.fpdf.org/en/tutorial/tuto2.htm</a>.</p>
  
  <p>For an example, this is what the "end result" should look like: 
  <a href="http://technischforum.sax-professional.be/assets/documents/BevestigingMail.pdf" rel="nofollow">http://technischforum.sax-professional.be/assets/documents/BevestigingMail.pdf</a></p>