mPDF Manual – What Else Can I Do

CMYK colours

CMYK Colors

Functions - SetDrawColor(), SetTextColor() and SetFillColor() all take an optional 4th parameter.

If defined this will interpret the input as CMYK color i.e.

$mpdf->SetDrawColor(15, 82, 0, 10)

NB all values are out of 100 - not 255 as for RGB

Fork me on GitHub