I was wondering if anyone knows how to change colors of text, shapes, etc. with ezPDF? I read through their documentation and it says that:
"(r,g,b) array, defining the colour of the shading, values from 0 to 1, default is (0.8,0.8,0.8)"
I'm confused though. If it's rgb colors, then I assumed that the value range would be from 0 to 255. I'm trying to make a particular blue color. As of now, I have the following bit of code for color:
'shadeCol2' => array (0,0,0.4)
This gets me a blue color, but the wrong shade. And it's hard to figure out the correct shade when I don't know how to manipulate these numbers. Anyone come across this?