Re: [xep-support] CMYK Colors in SVG--No Joy

From: Chris Lilley <>
Date: Mon Mar 21 2005 - 07:13:15 PST

Sorry to be very late responding to this

On Tuesday, February 1, 2005, 4:56:21 AM, Eliot wrote:

EK> I'm trying to get CMYK colors to work in SVG. The 4.1 docs say that
EK> "#CMYK ... pseudoprofile names can be used in icc-color()".

Oh, yuk. We didn't do it that way for a reason. If you use an ICC
profile, it has to have a valid profile connection space - such as CIE
LA - not 'device CMYK'.

EK> However, there's no example I could find in the docs and various Google
EK> searches and a scan of the SVG spec didn't provide any enlightenment.

EK> Here's what I'm trying to specify:

EK> <path d="M 0 100
EK> A 100,100 0 0,1 100,0
EK> L 100 100
EK> L 0 100
EK> z"
EK> fill="icc-color(#CMYK, 0.3,0,0,0)"
EK> />

ignoring the dubious profile, that's also incorrect syntax.

see the BNF - the ICC color needs toe preceeded by a fallback sRGB color
specification, for use by user agents that do not support, or cannot
locate, the specified ICC profile.

RenderX guys, to achieve what you seem to want (device CMYK) please see

 Chris Lilley          
 Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
Received on Mon Mar 21 08:02:50 2005

This archive was generated by hypermail 2.1.8 : Mon Mar 21 2005 - 08:02:52 PST