Edit This Code:
<!DOCTYPE html>
<html>
<title>W3.CSS</title>
<style>
div {padding:16px;}
</style>
<body>

<div data-w3-color="cmyk(100%, 0%, 0%, 0%">
<h1>London is the capital city of England.</h1>
<p>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>
<script>w3SetColorsByAttribute();</script>

</body>
</html>



Result:
Try it Yourself - © w3schools.com
Privacy Policy