#eb7db2 Color
Color Codes | |
---|---|
Hex Code | #eb7db2 |
RGB Code | rgb(235, 125, 178) |
HSL Code | hsl(331, 73%, 71%) |
#eb7db2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(235, 125, 178); }
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(331, 73%, 71%); }
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 #eb7db2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(235, 125, 178, 10%) | #eb7db21a | |
rgb(235, 125, 178, 20%) | #eb7db233 | |
rgb(235, 125, 178, 40%) | #eb7db24C | |
rgb(235, 125, 178, 60%) | #eb7db299 | |
rgb(235, 125, 178, 80%) | #eb7db2CC | |
rgb(235, 125, 178, 100%) | #eb7db2FF |
Saturated and desaturated colors of #eb7db2
HSL Code | Preview |
---|---|
hsl(331, 10%, 71%) | |
hsl(331, 20%, 71%) | |
hsl(331, 40%, 71%) | |
hsl(331, 60%, 71%) | |
hsl(331, 80%, 71%) | |
hsl(331, 100%, 71%) |
#eb7db2 Color Usage In CSS
body { color: #eb7db2; } p { color: rgb(235, 125, 178); } header { border-bottom:1px solid #eb7db2; }