#d84e8e Color
Color Codes | |
---|---|
Hex Code | #d84e8e |
RGB Code | rgb(216, 78, 142) |
HSL Code | hsl(332, 64%, 58%) |
#d84e8e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 78, 142); }
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(332, 64%, 58%); }
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 #d84e8e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 78, 142, 10%) | #d84e8e1a | |
rgb(216, 78, 142, 20%) | #d84e8e33 | |
rgb(216, 78, 142, 40%) | #d84e8e4C | |
rgb(216, 78, 142, 60%) | #d84e8e99 | |
rgb(216, 78, 142, 80%) | #d84e8eCC | |
rgb(216, 78, 142, 100%) | #d84e8eFF |
Saturated and desaturated colors of #d84e8e
HSL Code | Preview |
---|---|
hsl(332, 10%, 58%) | |
hsl(332, 20%, 58%) | |
hsl(332, 40%, 58%) | |
hsl(332, 60%, 58%) | |
hsl(332, 80%, 58%) | |
hsl(332, 100%, 58%) |
#d84e8e Color Usage In CSS
body { color: #d84e8e; } p { color: rgb(216, 78, 142); } header { border-bottom:1px solid #d84e8e; }