Re: [XSL-FO] rgb-icc(255, 0, 0, cmyk,0,0 ,0,0) Problem!!
- At 2004-10-23 12:49 +0530, heT wrote:
>I am converting FO to HTML, all is working fine except the color part,The first three arguments are, respectively, red, green and blue (hence the
>problem is the format of color for my FO is rgb-icc(255, 0, 0, cmyk,0,0
>,0,0) and HTML cant understand this any idea how to make it
name of the function). Convert the decimal numbers to two-digit
hexadecimal numbers, concatenate them and add an octothorpe.
255,0,0 becomes #ff0000
1,2,3 becomes #010203
128,128,128 becomes #808080
I hope this helps.
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman mailto:gkholman@...
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
Male Breast Cancer Awareness http://www.CraneSoftwrights.com/f/bc
Legal business disclaimers: http://www.CraneSoftwrights.com/legal