#c91108 Color
Color Codes | |
---|---|
Hex Code | #c91108 |
RGB Code | rgb(201, 17, 08) |
HSL Code | hsl(3, 92%, 41%) |
#c91108 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(201, 17, 08); }
R(red), G(green), B(blue) can be number between 0-255.
A parameter is a hex characters (0–9, A–F) and optional.
hsl()
hsl(hue saturation lightness); hsl(hue saturation lightness / alpha); div { background-color: hsl(3, 92%, 41%); }
Saturation value is a percentage value between 0% unsaturated and 100% fully saturated.
Lightness value is a percentage value between 100% is white and 0% is black.
Lighter and darker colors of #c91108
RGB Code | Hex Code | Preview |
---|---|---|
rgb(201, 17, 08, 10%) | #c911081a | |
rgb(201, 17, 08, 20%) | #c9110833 | |
rgb(201, 17, 08, 40%) | #c911084C | |
rgb(201, 17, 08, 60%) | #c9110899 | |
rgb(201, 17, 08, 80%) | #c91108CC | |
rgb(201, 17, 08, 100%) | #c91108FF |
Saturated and desaturated colors of #c91108
HSL Code | Preview |
---|---|
hsl(3, 10%, 41%) | |
hsl(3, 20%, 41%) | |
hsl(3, 40%, 41%) | |
hsl(3, 60%, 41%) | |
hsl(3, 80%, 41%) | |
hsl(3, 100%, 41%) |
#c91108 Color Usage In CSS
body { color: #c91108; } p { color: rgb(201, 17, 08); } header { border-bottom:1px solid #c91108; }