1Following could be the CSS color codes which you can use in your CSS File
2
31. You can write simply "Red".
42. #FF0000
53. #F00
64. RGB(255, 0, 0)
1<p style="color: #ffffff;">Lorem ipsum...</p> <!-- text -->
2<p style="background-color: red;">Lorem ipsum...</p> <!-- background -->
3<h1 style="border: 2px solid #00ff00;">Lorem ipsum...</h1> <!-- border -->
4
5<!-- 3 ways to define colors -->
6<h1 style="background-color: rgb(255, 99, 71);">Lorem ipsum...</h1>
7<h1 style="background-color: #ff6347;">Lorem ipsum...</h1>
8<h1 style="background-color: hsl(9, 100%, 64%);">Lorem ipsum...</h1>
1<!-- Check these best user friendly html color codes -->
2#1ca69d #e31ce0 #c13e72 #99b34d #3affb9
3#6c7093 #b35ba0 #1b1452
1<!--
2The value for the color property can be set in three main ways:
3
4by color name, for example, red, green, blue
5by hexadecimal number: from #000000 to #ffffff
6by color code in the RGB palette: from rgb (0, 0, 0) to rgb(255, 255, 255)
7-->