#eb51db Color
Color Codes | |
---|---|
Hex Code | #eb51db |
RGB Code | rgb(235, 81, 219) |
HSL Code | hsl(306, 79%, 62%) |
#eb51db Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(235, 81, 219); }
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(306, 79%, 62%); }
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 #eb51db
RGB Code | Hex Code | Preview |
---|---|---|
rgb(235, 81, 219, 10%) | #eb51db1a | |
rgb(235, 81, 219, 20%) | #eb51db33 | |
rgb(235, 81, 219, 40%) | #eb51db4C | |
rgb(235, 81, 219, 60%) | #eb51db99 | |
rgb(235, 81, 219, 80%) | #eb51dbCC | |
rgb(235, 81, 219, 100%) | #eb51dbFF |
Saturated and desaturated colors of #eb51db
HSL Code | Preview |
---|---|
hsl(306, 10%, 62%) | |
hsl(306, 20%, 62%) | |
hsl(306, 40%, 62%) | |
hsl(306, 60%, 62%) | |
hsl(306, 80%, 62%) | |
hsl(306, 100%, 62%) |
#eb51db Color Usage In CSS
body { color: #eb51db; } p { color: rgb(235, 81, 219); } header { border-bottom:1px solid #eb51db; }