next up previous contents index
Next: Multi-line Text Up: Stamp Text, Dates and Previous: Font and Size   Contents   Index


Colors

The -color option takes an RGB color, where red, green and blue components range between 0 and 1. The following values are predefined:


Color R, G, B
white 1, 1, 1
black 0, 0, 0
red 1, 0, 0
green 0, 1, 0
blue 0, 0, 1


\begin{framed}
\small\verb!cpdf -add-text ''Hullo'' -color ''red'' in.pdf -o ou...
...cpdf -add-text ''Hullo'' -color ''0.5 0.5 0.5'' in.pdf -o out.pdf!
\end{framed}



root 2008-12-01