#f716cb Color
Color Codes | |
---|---|
Hex Code | #f716cb |
RGB Code | rgb(247, 22, 203) |
HSL Code | hsl(312, 93%, 53%) |
#f716cb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(247, 22, 203); }
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(312, 93%, 53%); }
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 #f716cb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(247, 22, 203, 10%) | #f716cb1a | |
rgb(247, 22, 203, 20%) | #f716cb33 | |
rgb(247, 22, 203, 40%) | #f716cb4C | |
rgb(247, 22, 203, 60%) | #f716cb99 | |
rgb(247, 22, 203, 80%) | #f716cbCC | |
rgb(247, 22, 203, 100%) | #f716cbFF |
Saturated and desaturated colors of #f716cb
HSL Code | Preview |
---|---|
hsl(312, 10%, 53%) | |
hsl(312, 20%, 53%) | |
hsl(312, 40%, 53%) | |
hsl(312, 60%, 53%) | |
hsl(312, 80%, 53%) | |
hsl(312, 100%, 53%) |
#f716cb Color Usage In CSS
body { color: #f716cb; } p { color: rgb(247, 22, 203); } header { border-bottom:1px solid #f716cb; }