On Mon, 5 Jun 2006, Michael Schindler apparently wrote: 
> The conversion of colors into grayscales is not quite 
> straightforward.  On any reasonable Postscript device, 
> however, the conversion rule defined in the Postscript 
> standard should be applied. This means 
>   RGB -> GRAY: 
>     GRAY = 0.3*R + 0.59*G + 0.11*B 

OK. Section 7.2.1 of the red book.

> Similar things can be defined for CMYK -> GRAY. A good reference on 
> these things is the documentation for the LaTeX package xcolor.sty. 

http://www.tug.org/tex-archive/macros/latex/contrib/xcolor/xcolor.pdf
Interesting discussions!

> A good color palette has a linear dependence of the such defined gray 
> value on the parameter. This is not exactly the case with BlackYellow, 
> but nearly. You can play with differently defined palettes in the file 
>  <PYX-SVN>/design/palettetest.py 

Thanks!
Alan






_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to