#d80c23 Color
Color Codes | |
---|---|
Hex Code | #d80c23 |
RGB Code | rgb(216, 12, 35) |
HSL Code | hsl(353, 89%, 45%) |
#d80c23 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 12, 35); }
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(353, 89%, 45%); }
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 #d80c23
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 12, 35, 10%) | #d80c231a | |
rgb(216, 12, 35, 20%) | #d80c2333 | |
rgb(216, 12, 35, 40%) | #d80c234C | |
rgb(216, 12, 35, 60%) | #d80c2399 | |
rgb(216, 12, 35, 80%) | #d80c23CC | |
rgb(216, 12, 35, 100%) | #d80c23FF |
Saturated and desaturated colors of #d80c23
HSL Code | Preview |
---|---|
hsl(353, 10%, 45%) | |
hsl(353, 20%, 45%) | |
hsl(353, 40%, 45%) | |
hsl(353, 60%, 45%) | |
hsl(353, 80%, 45%) | |
hsl(353, 100%, 45%) |
#d80c23 Color Usage In CSS
body { color: #d80c23; } p { color: rgb(216, 12, 35); } header { border-bottom:1px solid #d80c23; }