$pdf->SetFont('helvetica', 'B', 6.5);
$pdf->SetTextColor(131,131,132); // Setting the colour
$pdf->SetXY(2, 17.5);
$pdf->Cell($pageWidth - 4, 7.5, 'EMPLOYEE ID CARD', 0, 1, 'C');
$pdf->SetTextColor(0,0,0); //Resetting the color after the cell has been printed