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

<div data-w3-color="ncs(0907-B90G)">
<p>London is the capital city of England.</p>
</div>

<div data-w3-color="ncs(2030-B30G)">
<p>London is the capital city of England.</p>
</div>

<div data-w3-color="ncs(4040-R90B)">
<p>London is the capital city of England.</p>
</div>

<script src="../lib/w3color.js"></script>
<script>w3SetColorsByAttribute();</script>

</body>
</html>



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