Forum How do I...?

Text in CMYK

Frama
I generate a PDF with HTML5 / CSS and want to set the text-color and border-color as CMYK-value.

Works fine:
p.danger {
border-top: 10pt solid #cc0000;
color: #cc0000;
}

Doesn't work:
p.danger {
border-top: 10pt solid cmyk(20,100,90,10);
color: cmyk(20,100,90,10);
}

Can you help me finding a solution? Thanks.
mikeday
The CMYK color channel numbers are clamped to the range 0..1, or 0%..100%.
Frama
Thank you very much. It works fine.