To save having to calculate the relevant r,g,b triplet for use in setColor, I have created an extension ezSetColor which will take names of colours.
The names relate to X11 color names.
Add this code to class.ezpdf.php:
// ------------------------------------------------------------------------------
// 2009-05-22: Rob Starkey (awebsite4u.co.uk)
// Set Colours to web colors
function...
2009-05-22 13:50:08 UTC in PHP Pdf creation