#e12ac1 Color
Color Codes | |
---|---|
Hex Code | #e12ac1 |
RGB Code | rgb(225, 42, 193) |
HSL Code | hsl(310, 75%, 52%) |
#e12ac1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(225, 42, 193); }
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(310, 75%, 52%); }
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 #e12ac1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(225, 42, 193, 10%) | #e12ac11a | |
rgb(225, 42, 193, 20%) | #e12ac133 | |
rgb(225, 42, 193, 40%) | #e12ac14C | |
rgb(225, 42, 193, 60%) | #e12ac199 | |
rgb(225, 42, 193, 80%) | #e12ac1CC | |
rgb(225, 42, 193, 100%) | #e12ac1FF |
Saturated and desaturated colors of #e12ac1
HSL Code | Preview |
---|---|
hsl(310, 10%, 52%) | |
hsl(310, 20%, 52%) | |
hsl(310, 40%, 52%) | |
hsl(310, 60%, 52%) | |
hsl(310, 80%, 52%) | |
hsl(310, 100%, 52%) |
#e12ac1 Color Usage In CSS
body { color: #e12ac1; } p { color: rgb(225, 42, 193); } header { border-bottom:1px solid #e12ac1; }