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
1Best page to choose HTML color codes https://htmlcolorcodes.com/
1<input type="color" value="#f6f82" id="colorPicker">
1<!-- Color in HTML by inline-css -->
2<p style="color: red; background-color: blue;">
3 This text is red and the background is blue
4</p>