Hello all,
I need to export the fillColor of a paragraph style via scripting.
I can get the fillColor property of the paragraph style, and can also convert CMYK to Hex. However, I do realize that the color values shown in InDesign are in whatever Color Space the document is using.
My question is, is there a native API to convert the color values to a web safe color value? If not, how do I go about mapping the colors?
Additionally, I see that Adobe internally knows how to convert it to a proper hex color (screenshot attached - note the color property in the Export Tagging pane). If I cannot use some native API, is there a way to access the text in that pane?
Thanks all, in advance!