#f96cac Color
Color Codes | |
---|---|
Hex Code | #f96cac |
RGB Code | rgb(249, 108, 172) |
HSL Code | hsl(333, 92%, 70%) |
#f96cac Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(249, 108, 172); }
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(333, 92%, 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 #f96cac
RGB Code | Hex Code | Preview |
---|---|---|
rgb(249, 108, 172, 10%) | #f96cac1a | |
rgb(249, 108, 172, 20%) | #f96cac33 | |
rgb(249, 108, 172, 40%) | #f96cac4C | |
rgb(249, 108, 172, 60%) | #f96cac99 | |
rgb(249, 108, 172, 80%) | #f96cacCC | |
rgb(249, 108, 172, 100%) | #f96cacFF |
Saturated and desaturated colors of #f96cac
HSL Code | Preview |
---|---|
hsl(333, 10%, 70%) | |
hsl(333, 20%, 70%) | |
hsl(333, 40%, 70%) | |
hsl(333, 60%, 70%) | |
hsl(333, 80%, 70%) | |
hsl(333, 100%, 70%) |
#f96cac Color Usage In CSS
body { color: #f96cac; } p { color: rgb(249, 108, 172); } header { border-bottom:1px solid #f96cac; }