color code in css code example
Example 1: css color
/* all color are same */
color: rgb(255, 99, 71)
color: #ff6347
color: hsl(9, 100%, 64%)
Example 2: color in html
<!-- Color in HTML by inline-css -->
<p style="color: red; background-color: blue;">
This text is red and the background is blue
</p>
Example 3: Css colors
Here a codePen with cool gradient animations:
https://codepen.io/DevLorenzo/pen/ExgpvJM