#ef99ef Color
Color Codes | |
---|---|
Hex Code | #ef99ef |
RGB Code | rgb(239, 153, 239) |
HSL Code | hsl(300, 73%, 77%) |
#ef99ef Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(239, 153, 239); }
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(300, 73%, 77%); }
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 #ef99ef
RGB Code | Hex Code | Preview |
---|---|---|
rgb(239, 153, 239, 10%) | #ef99ef1a | |
rgb(239, 153, 239, 20%) | #ef99ef33 | |
rgb(239, 153, 239, 40%) | #ef99ef4C | |
rgb(239, 153, 239, 60%) | #ef99ef99 | |
rgb(239, 153, 239, 80%) | #ef99efCC | |
rgb(239, 153, 239, 100%) | #ef99efFF |
Saturated and desaturated colors of #ef99ef
HSL Code | Preview |
---|---|
hsl(300, 10%, 77%) | |
hsl(300, 20%, 77%) | |
hsl(300, 40%, 77%) | |
hsl(300, 60%, 77%) | |
hsl(300, 80%, 77%) | |
hsl(300, 100%, 77%) |
#ef99ef Color Usage In CSS
body { color: #ef99ef; } p { color: rgb(239, 153, 239); } header { border-bottom:1px solid #ef99ef; }