#eb5f8b Color
Color Codes | |
---|---|
Hex Code | #eb5f8b |
RGB Code | rgb(235, 95, 139) |
HSL Code | hsl(341, 78%, 65%) |
#eb5f8b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(235, 95, 139); }
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(341, 78%, 65%); }
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 #eb5f8b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(235, 95, 139, 10%) | #eb5f8b1a | |
rgb(235, 95, 139, 20%) | #eb5f8b33 | |
rgb(235, 95, 139, 40%) | #eb5f8b4C | |
rgb(235, 95, 139, 60%) | #eb5f8b99 | |
rgb(235, 95, 139, 80%) | #eb5f8bCC | |
rgb(235, 95, 139, 100%) | #eb5f8bFF |
Saturated and desaturated colors of #eb5f8b
HSL Code | Preview |
---|---|
hsl(341, 10%, 65%) | |
hsl(341, 20%, 65%) | |
hsl(341, 40%, 65%) | |
hsl(341, 60%, 65%) | |
hsl(341, 80%, 65%) | |
hsl(341, 100%, 65%) |
#eb5f8b Color Usage In CSS
body { color: #eb5f8b; } p { color: rgb(235, 95, 139); } header { border-bottom:1px solid #eb5f8b; }