#e42d27 Color
Color Codes | |
---|---|
Hex Code | #e42d27 |
RGB Code | rgb(228, 45, 39) |
HSL Code | hsl(2, 78%, 52%) |
#e42d27 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(228, 45, 39); }
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(2, 78%, 52%); }
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 #e42d27
RGB Code | Hex Code | Preview |
---|---|---|
rgb(228, 45, 39, 10%) | #e42d271a | |
rgb(228, 45, 39, 20%) | #e42d2733 | |
rgb(228, 45, 39, 40%) | #e42d274C | |
rgb(228, 45, 39, 60%) | #e42d2799 | |
rgb(228, 45, 39, 80%) | #e42d27CC | |
rgb(228, 45, 39, 100%) | #e42d27FF |
Saturated and desaturated colors of #e42d27
HSL Code | Preview |
---|---|
hsl(2, 10%, 52%) | |
hsl(2, 20%, 52%) | |
hsl(2, 40%, 52%) | |
hsl(2, 60%, 52%) | |
hsl(2, 80%, 52%) | |
hsl(2, 100%, 52%) |
#e42d27 Color Usage In CSS
body { color: #e42d27; } p { color: rgb(228, 45, 39); } header { border-bottom:1px solid #e42d27; }