#e42bc2 Color
Color Codes | |
---|---|
Hex Code | #e42bc2 |
RGB Code | rgb(228, 43, 194) |
HSL Code | hsl(311, 77%, 53%) |
#e42bc2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(228, 43, 194); }
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(311, 77%, 53%); }
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 #e42bc2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(228, 43, 194, 10%) | #e42bc21a | |
rgb(228, 43, 194, 20%) | #e42bc233 | |
rgb(228, 43, 194, 40%) | #e42bc24C | |
rgb(228, 43, 194, 60%) | #e42bc299 | |
rgb(228, 43, 194, 80%) | #e42bc2CC | |
rgb(228, 43, 194, 100%) | #e42bc2FF |
Saturated and desaturated colors of #e42bc2
HSL Code | Preview |
---|---|
hsl(311, 10%, 53%) | |
hsl(311, 20%, 53%) | |
hsl(311, 40%, 53%) | |
hsl(311, 60%, 53%) | |
hsl(311, 80%, 53%) | |
hsl(311, 100%, 53%) |
#e42bc2 Color Usage In CSS
body { color: #e42bc2; } p { color: rgb(228, 43, 194); } header { border-bottom:1px solid #e42bc2; }