#de2e5c Color
Color Codes | |
---|---|
Hex Code | #de2e5c |
RGB Code | rgb(222, 46, 92) |
HSL Code | hsl(344, 73%, 53%) |
#de2e5c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(222, 46, 92); }
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(344, 73%, 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 #de2e5c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(222, 46, 92, 10%) | #de2e5c1a | |
rgb(222, 46, 92, 20%) | #de2e5c33 | |
rgb(222, 46, 92, 40%) | #de2e5c4C | |
rgb(222, 46, 92, 60%) | #de2e5c99 | |
rgb(222, 46, 92, 80%) | #de2e5cCC | |
rgb(222, 46, 92, 100%) | #de2e5cFF |
Saturated and desaturated colors of #de2e5c
HSL Code | Preview |
---|---|
hsl(344, 10%, 53%) | |
hsl(344, 20%, 53%) | |
hsl(344, 40%, 53%) | |
hsl(344, 60%, 53%) | |
hsl(344, 80%, 53%) | |
hsl(344, 100%, 53%) |
#de2e5c Color Usage In CSS
body { color: #de2e5c; } p { color: rgb(222, 46, 92); } header { border-bottom:1px solid #de2e5c; }