0% found this document useful (0 votes)
31 views

Colors CMYK

The document discusses CMYK colors which are a combination of cyan, magenta, yellow and black used in printing. It provides a CMYK color calculator and explains that while CMYK is not supported in HTML, it is suggested as a new standard in CSS4. The document also includes an example of including CMYK colors in an HTML document using a JavaScript library.

Uploaded by

tuanzack6487
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views

Colors CMYK

The document discusses CMYK colors which are a combination of cyan, magenta, yellow and black used in printing. It provides a CMYK color calculator and explains that while CMYK is not supported in HTML, it is suggested as a new standard in CSS4. The document also includes an example of including CMYK colors in an HTML document using a JavaScript library.

Uploaded by

tuanzack6487
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

 Menu   Log in

 HTML CSS JAVASCRIPT SQL PYTHON

Colors CMYK
‹ Previous Next ›

CMYK is a suggested standard for CSS4.

CMYK Calculator

cmyk(35%, 30%, 0%, 0%)

rgb(166, 179, 255)

#a6b3ff

hsl(231, 100%, 82%)

C: 35

35

M: 30

30

Y: 0

0

K: 0

0

Use this color in our Color Picker

CMYK Colors
CMYK 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 Support
CMYK 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:

ADVERTISEMENT

Try it Yourself

Example

<div data-w3-color="cmyk(100%, 0%, 0%,


0%)">

<p>London 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.</p>

</div>

<script src="/lib/w3color.js"></script>

Try It Yourself »

W3Schools Color Library


The JavaScript library used in the example above
can be downloaded from:

https://www.w3schools.com/lib/w3color.js

‹ Previous Next ›

ADVERTISEMENT

COLOR PICKER



ADVERTISEMENT


SPACES

UPGRADE

NEWSLETTER

GET CERTIFIED

REPORT ERROR

Top Tutorials
HTML Tutorial
CSS Tutorial
JavaScript Tutorial
How To Tutorial
SQL Tutorial
Python Tutorial
W3.CSS Tutorial
Bootstrap Tutorial
PHP Tutorial
Java Tutorial
C++ Tutorial
jQuery Tutorial

Top References
HTML Reference
CSS Reference
JavaScript Reference
SQL Reference
Python Reference
W3.CSS Reference
Bootstrap Reference
PHP Reference
HTML Colors
Java Reference
Angular Reference
jQuery Reference

Top Examples
HTML Examples
CSS Examples
JavaScript Examples
How To Examples
SQL Examples
Python Examples
W3.CSS Examples
Bootstrap Examples
PHP Examples
Java Examples
XML Examples
jQuery Examples

Get Certified
HTML Certificate
CSS Certificate
JavaScript Certificate
Front End Certificate
SQL Certificate
Python Certificate
PHP Certificate
jQuery Certificate
Java Certificate
C++ Certificate
C# Certificate
XML Certificate

    FORUM

ABOUT
W3Schools is optimized for learning and
training. Examples might be simplified to
improve reading and learning. Tutorials,
references, and examples are constantly
reviewed to avoid errors, but we cannot
warrant full correctness of all content. While
using W3Schools, you agree to have read
and accepted our terms of use, cookie and
privacy policy.

Copyright 1999-2023 by Refsnes Data. All


Rights Reserved. W3Schools is Powered by
W3.CSS.

You might also like