CMYK is a suggested standard for CSS4.
CMYK Calculator rgb(255, 0, 0) #ff0000 hsl(0, 100%, 50%) C: M: Y: K: CMYK ColorsCMYK colors is a combination of CYAN, MAGENTA, YELLOW , and BLACK.
Computer screens display colors using RGB color values. Printers often presents colors using CMYK color values.
HTML SupportCMYK is not supported in HTML, but it is suggested as a new standard in CSS4.
While waiting for CSS4, you can include W3Schools' Color library, and use CMYK as an HTML attribute like this:
Try it Yourself ExampleLondon is the capital city of England.It is the most populous city in the United Kingdom,with a metropolitan area of over 13 million inhabitants.
Try It Yourself » W3Schools Color Library
The JaScript library used in the example above can be downloaded from:
https://www.w3schools.com/lib/w3color.js
❮ Previous Next ❯ ★ +1 Sign in to track progress