#eb7f95 Color
Color Codes | |
---|---|
Hex Code | #eb7f95 |
RGB Code | rgb(235, 127, 149) |
HSL Code | hsl(348, 73%, 71%) |
#eb7f95 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(235, 127, 149); }
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(348, 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 #eb7f95
RGB Code | Hex Code | Preview |
---|---|---|
rgb(235, 127, 149, 10%) | #eb7f951a | |
rgb(235, 127, 149, 20%) | #eb7f9533 | |
rgb(235, 127, 149, 40%) | #eb7f954C | |
rgb(235, 127, 149, 60%) | #eb7f9599 | |
rgb(235, 127, 149, 80%) | #eb7f95CC | |
rgb(235, 127, 149, 100%) | #eb7f95FF |
Saturated and desaturated colors of #eb7f95
HSL Code | Preview |
---|---|
hsl(348, 10%, 71%) | |
hsl(348, 20%, 71%) | |
hsl(348, 40%, 71%) | |
hsl(348, 60%, 71%) | |
hsl(348, 80%, 71%) | |
hsl(348, 100%, 71%) |
#eb7f95 Color Usage In CSS
body { color: #eb7f95; } p { color: rgb(235, 127, 149); } header { border-bottom:1px solid #eb7f95; }