#e295dc Color
Color Codes | |
---|---|
Hex Code | #e295dc |
RGB Code | rgb(226, 149, 220) |
HSL Code | hsl(305, 57%, 74%) |
#e295dc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(226, 149, 220); }
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(305, 57%, 74%); }
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 #e295dc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(226, 149, 220, 10%) | #e295dc1a | |
rgb(226, 149, 220, 20%) | #e295dc33 | |
rgb(226, 149, 220, 40%) | #e295dc4C | |
rgb(226, 149, 220, 60%) | #e295dc99 | |
rgb(226, 149, 220, 80%) | #e295dcCC | |
rgb(226, 149, 220, 100%) | #e295dcFF |
Saturated and desaturated colors of #e295dc
HSL Code | Preview |
---|---|
hsl(305, 10%, 74%) | |
hsl(305, 20%, 74%) | |
hsl(305, 40%, 74%) | |
hsl(305, 60%, 74%) | |
hsl(305, 80%, 74%) | |
hsl(305, 100%, 74%) |
#e295dc Color Usage In CSS
body { color: #e295dc; } p { color: rgb(226, 149, 220); } header { border-bottom:1px solid #e295dc; }