#d83542 Color
Color Codes | |
---|---|
Hex Code | #d83542 |
RGB Code | rgb(216, 53, 66) |
HSL Code | hsl(355, 68%, 53%) |
#d83542 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 53, 66); }
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(355, 68%, 53%); }
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 #d83542
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 53, 66, 10%) | #d835421a | |
rgb(216, 53, 66, 20%) | #d8354233 | |
rgb(216, 53, 66, 40%) | #d835424C | |
rgb(216, 53, 66, 60%) | #d8354299 | |
rgb(216, 53, 66, 80%) | #d83542CC | |
rgb(216, 53, 66, 100%) | #d83542FF |
Saturated and desaturated colors of #d83542
HSL Code | Preview |
---|---|
hsl(355, 10%, 53%) | |
hsl(355, 20%, 53%) | |
hsl(355, 40%, 53%) | |
hsl(355, 60%, 53%) | |
hsl(355, 80%, 53%) | |
hsl(355, 100%, 53%) |
#d83542 Color Usage In CSS
body { color: #d83542; } p { color: rgb(216, 53, 66); } header { border-bottom:1px solid #d83542; }