#f994fc Color
Color Codes | |
---|---|
Hex Code | #f994fc |
RGB Code | rgb(249, 148, 252) |
HSL Code | hsl(298, 95%, 78%) |
#f994fc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(249, 148, 252); }
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(298, 95%, 78%); }
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 #f994fc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(249, 148, 252, 10%) | #f994fc1a | |
rgb(249, 148, 252, 20%) | #f994fc33 | |
rgb(249, 148, 252, 40%) | #f994fc4C | |
rgb(249, 148, 252, 60%) | #f994fc99 | |
rgb(249, 148, 252, 80%) | #f994fcCC | |
rgb(249, 148, 252, 100%) | #f994fcFF |
Saturated and desaturated colors of #f994fc
HSL Code | Preview |
---|---|
hsl(298, 10%, 78%) | |
hsl(298, 20%, 78%) | |
hsl(298, 40%, 78%) | |
hsl(298, 60%, 78%) | |
hsl(298, 80%, 78%) | |
hsl(298, 100%, 78%) |
#f994fc Color Usage In CSS
body { color: #f994fc; } p { color: rgb(249, 148, 252); } header { border-bottom:1px solid #f994fc; }