Html to PDF: Convert/Substitute Hex in Html to CMYK in PDF

Since css doesn’t support CMYK natively, we are having to define all of our css colors as Hex. We would like the colors in the PDF to show as CMYK.

From my understanding, there is no true reliable way to convert from Hex/RGB to CMYK. So I have two questions

  1. Is my understanding incorrect, and is there a way to convert from Hex/RGB to CMYK and get the correct CMYK color?
  2. If not, is there a way using Aspose to do a substitution? Meaning, if I have a Hex value in the css, can I substitute it for a CMYK color before generating the PDF?

@ANDREA.FARRIS

We need to analyze and investigated whether it is possible or not to achieve what you are expecting. Can you please share some sample file for our reference so that we can generate a ticket in our issue management system and share the ID with you.