Page 1 of 1

CSS for cmyk output

Posted: Thu Nov 13, 2025 7:21 pm
by Leighb
I am using Oxygen 27.1 and Chemistry 27.1. I am trying to change my colors specs from rgb to cmyk but I getting an error in the editor and an immediate fail when running the pdf transformation scenario.
This is what I have for my css:

Code: Select all

article[outputclass~="domain_intro"] h1.title {
  color: -oxy-cmyk(90%,48%,0%,0%);
  font-weight: bold;
}
This is the error message: “-oxy-cmyk(90%,48%,0%,0%)” is not a “color” value : -oxy-cmyk(90%,48%,0%,0%) Context: article[outputclass~="domain_intro"] h1.title in property: color

What am I missing? Please help! (The deadline is past due and the printer is screaming!)

Thanks,
Leigh

Re: CSS for cmyk output

Posted: Fri Nov 14, 2025 10:43 am
by julien_lacour
Hello Leigh,

There is no -oxy-cmyk() function, and Oxygen PDF Chemistry also doesn’t support the device-cmyk() function (just as browsers don’t).
This function is only indicated in CSS Color Module Level 5 which is still a W3C Working Draft (last updated: 18 March 2025): https://www.w3.org/TR/css-color-5/#device-cmyk
CMYK is a print-oriented color model, but in most cases, PDFs are displayed on screens, which rely on RGB model.
However I added your vote to the feature request, when it will be available you will be notified on this thread.

Regards,
Julien

Re: CSS for cmyk output

Posted: Fri Nov 14, 2025 5:39 pm
by Leighb
Thanks Julien. I spent a lot of time digging into different options. Glad I asked. We send a pdf to our printer who uses the file to print in cmyk. Are there any other option for producing a file out of Oxygen that would product a file in cmyk that I could send to our printer?

Leigh

Re: CSS for cmyk output

Posted: Tue Nov 18, 2025 10:30 am
by julien_lacour
Hello Leigh,

Unfortunately, Oxygen does not currently generates files supporting the CMYK color model. However, I’ve added your request to our feature list, and we will revisit it in the future. You’ll be notified as soon as this becomes available.

Regards,
Julien