#e25a9d Color
Color Codes | |
---|---|
Hex Code | #e25a9d |
RGB Code | rgb(226, 90, 157) |
HSL Code | hsl(330, 70%, 62%) |
#e25a9d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(226, 90, 157); }
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, 70%, 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 #e25a9d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(226, 90, 157, 10%) | #e25a9d1a | |
rgb(226, 90, 157, 20%) | #e25a9d33 | |
rgb(226, 90, 157, 40%) | #e25a9d4C | |
rgb(226, 90, 157, 60%) | #e25a9d99 | |
rgb(226, 90, 157, 80%) | #e25a9dCC | |
rgb(226, 90, 157, 100%) | #e25a9dFF |
Saturated and desaturated colors of #e25a9d
HSL Code | Preview |
---|---|
hsl(330, 10%, 62%) | |
hsl(330, 20%, 62%) | |
hsl(330, 40%, 62%) | |
hsl(330, 60%, 62%) | |
hsl(330, 80%, 62%) | |
hsl(330, 100%, 62%) |
#e25a9d Color Usage In CSS
body { color: #e25a9d; } p { color: rgb(226, 90, 157); } header { border-bottom:1px solid #e25a9d; }