#ef77cc Color
Color Codes | |
---|---|
Hex Code | #ef77cc |
RGB Code | rgb(239, 119, 204) |
HSL Code | hsl(318, 79%, 70%) |
#ef77cc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(239, 119, 204); }
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(318, 79%, 70%); }
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 #ef77cc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(239, 119, 204, 10%) | #ef77cc1a | |
rgb(239, 119, 204, 20%) | #ef77cc33 | |
rgb(239, 119, 204, 40%) | #ef77cc4C | |
rgb(239, 119, 204, 60%) | #ef77cc99 | |
rgb(239, 119, 204, 80%) | #ef77ccCC | |
rgb(239, 119, 204, 100%) | #ef77ccFF |
Saturated and desaturated colors of #ef77cc
HSL Code | Preview |
---|---|
hsl(318, 10%, 70%) | |
hsl(318, 20%, 70%) | |
hsl(318, 40%, 70%) | |
hsl(318, 60%, 70%) | |
hsl(318, 80%, 70%) | |
hsl(318, 100%, 70%) |
#ef77cc Color Usage In CSS
body { color: #ef77cc; } p { color: rgb(239, 119, 204); } header { border-bottom:1px solid #ef77cc; }