#e71c82 Color
Color Codes | |
---|---|
Hex Code | #e71c82 |
RGB Code | rgb(231, 28, 130) |
HSL Code | hsl(330, 81%, 51%) |
#e71c82 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(231, 28, 130); }
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(330, 81%, 51%); }
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 #e71c82
RGB Code | Hex Code | Preview |
---|---|---|
rgb(231, 28, 130, 10%) | #e71c821a | |
rgb(231, 28, 130, 20%) | #e71c8233 | |
rgb(231, 28, 130, 40%) | #e71c824C | |
rgb(231, 28, 130, 60%) | #e71c8299 | |
rgb(231, 28, 130, 80%) | #e71c82CC | |
rgb(231, 28, 130, 100%) | #e71c82FF |
Saturated and desaturated colors of #e71c82
HSL Code | Preview |
---|---|
hsl(330, 10%, 51%) | |
hsl(330, 20%, 51%) | |
hsl(330, 40%, 51%) | |
hsl(330, 60%, 51%) | |
hsl(330, 80%, 51%) | |
hsl(330, 100%, 51%) |
#e71c82 Color Usage In CSS
body { color: #e71c82; } p { color: rgb(231, 28, 130); } header { border-bottom:1px solid #e71c82; }