Forum How do I...?

Is it possible to set a cmyka color in CSS?

zambadu
Hi,

I have a document with a rgba gradient, now I wonder if there is a way to set cmyka colors in CSS, too?

And does gradients work with rgba or cmyka in prince? It doesn't look so.

Thanks in advance.

Kind regards,

Zambadu

Edited by zambadu

mikeday
At the moment it is not possible specify cmyka colors, nor use opacity in gradients.
zambadu
At least the cmyka colors in css, would be a nice feature for further releases. :)

Edited by zambadu

mikeday
I will add it to the roadmap. :)
mikeday
This is now supported in the latest builds, the cmyk() color function takes an optional fifth argument.
mikeday
It took a while, but we now have a latest build which supports stop-opacity in gradients!