[pdftex] Rule color madness

Rolf Niepraschk Rolf.Niepraschk at ptb.de
Thu Apr 10 09:17:34 CEST 2003


G. D. Brettschneider wrote:
...
 >
 > BTW: Is there a more appropiate way to convert CMYB to RGB
 > than saying: R=1-C, G=1-M, B=1-Y? How to get a "Black" value?
 > Can pdfTeX do the conversion by itself? - At least, link border
 > colors can be defined by handling RGB values to \pdfstartlink.
 >

Try:

R = 1 + C * (K - 1) - K
G = 1 + M * (K - 1) - K
B = 1 + Y * (K - 1) - K

...Rolf
-- 
|| Rolf Niepraschk c/o Physikalisch-Technische Bundesanstalt ||
|| Abbestr. 2-12; D-10587 Berlin, Germany                    ||
|| Tel/Fax: ++49-30-3481-316/490, email: niepraschk at ptb.de   ||



More information about the pdftex mailing list