Applying CMYK colour to an anchor tag

Hi,

As per title, I seem to not be able to apply a CMYK colour to an anchor link tag?

My css is a simple: .mylink { color: cmyk(3%, 0%,0%,45% ); } doesnt work

or

<a href="google.com" style="color: MYCMYKCOLOR">my link</a>

When I output its just a black text.

PresConnect. Version 2022.2.13107

I have searched the forum none seem to have this issue.

any help is appreciated.

Kind regards,
E

I assume that this is because cmyk() isn’t supported and that you will have to use rgb() or a hex color code instead.

You’re right, custom colors don’t seem to be supported for anchor tags.

I created a ticket for this (internal ref: SHARED-90412).

1 Like