[reportlab-users] set font colors

Tim Roberts timr at probo.com
Wed Jan 25 20:17:42 EST 2012


Chorny, Ilya wrote:

>

> What about RGB. Is it also decimal range. What is the range?

>


ALL color values in Postscript are floating point values from 0 to 1.
If you were expecting RGB(187,187,187) to be in the range 0 to 255, then
you would want (0.73,0.73,0.73).

--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20120125/052a7386/attachment.html>


More information about the reportlab-users mailing list