color css code example
Example 1: border color css
border: 1px;
border-color: #3581fc;
Example 2: text color css
.class {
color: white;
}
Example 3: css color
color: rgb(255, 99, 71)
color: #ff6347
color: hsl(9, 100%, 64%)
Example 4: css set background color
body {
background-color: red;
}
Example 5: 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 6: css light grey
#selector{
color:lightgrey;
}