CMYK
This example shows the usage of CMYK for text and the capability to include images with CMYK colorspace.
Repository files
PDF files
Converter | Status | PDF Preview |
---|---|---|
PDFreactor | ||
PrinceXML | ||
Antennahouse | ||
Weasyprint | ||
PagedJS | ||
Typeset.sh | ||
Vivliostyle | ||
BFO |
|
OK
OK with issues
Error
Unsupported
HTML input
<html> <head> <link rel="stylesheet" type="text/css" href="styles.css" /> </head> <body> <h1>This is text in CMYK</h1> <p id="cmyk"> Pulvinar non pellentesque pellentesque nisi nascetur elementum platea turpis, eu, pulvinar et, a mauris, etiam vel, facilisis mus, egestas in dapibus sagittis ac mattis. Phasellus massa cum, habitasse augue sagittis, turpis penatibus auctor sagittis aenean in! Aenean porta tincidunt ultricies est lorem, facilisis dignissim tempor auctor ut sociis pulvinar eros egestas eros placerat habitasse, mid sed mattis velit platea aliquam, purus lorem, lacus et integer, natoque augue a, facilisis augue, mattis cras! A pid mattis lorem urna rhoncus. Elementum tincidunt, mus elementum turpis quis ridiculus eu odio egestas, elit auctor turpis mus platea sed, rhoncus tempor, augue dictumst phasellus tortor, ac. Massa sagittis sociis integer mid magna a turpis pellentesque, placerat lundium! Lacus, enim mus odio placerat? Nec cursus augue. </p> <h1> This is a CMYK image </h1> <img src="Channel_digital_image_CMYK_color.jpg" style="width: 80%"/> <div> Source: https://upload.wikimedia.org/wikipedia/en/2/25/Channel_digital_image_CMYK_color.jpg </div> </body> </html>
Stylesheet
@import url("../styles/a4.css"); p { font-size: 12pt; } #cmyk { border: 10px solid cmyk(100%, 0%, 0%, 0%); background: cmyk(100%, 36%, 0%, 0%); color: cmyk(0%, 9%, 7%, 30%); padding: 1em; }