css color code code example

Example 1: rgb purple color

(128,0,128)    Hex  #800080

Example 2: red css color codes

Following could be the CSS color codes which you can use in your CSS File

1. You can write simply "Red".
2. #FF0000
3. #F00
4. RGB(255, 0, 0)

Example 3: html color codes

<!-- Check these best user friendly html color codes -->
#1ca69d     #e31ce0      #c13e72      #99b34d    #3affb9
#6c7093     #b35ba0      #1b1452

Example 4: 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 5: Css colors

Here a codePen with cool gradient animations:
https://codepen.io/DevLorenzo/pen/ExgpvJM

Example 6: html color codes

Use htmlcolorcodes.com for this