To set the fill color in PDF there are these three ways:
247 28 36 rg
3 89 86 0 k
0.03 0.89 0.86 0.0 scn
... rg
is RGB, ... k
is CMYK, and ... scn
is SetAdvancedColor(?). Other than being as a decimal rather than a percentage, what is the difference between k
and scn
?
Useful links for other beginners: How to decompress PDFs, 'PDF Succinctly' book on PDF structure