#f98eac Color
Color Codes | |
---|---|
Hex Code | #f98eac |
RGB Code | rgb(249, 142, 172) |
HSL Code | hsl(343, 90%, 77%) |
#f98eac Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(249, 142, 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(343, 90%, 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 #f98eac
RGB Code | Hex Code | Preview |
---|---|---|
rgb(249, 142, 172, 10%) | #f98eac1a | |
rgb(249, 142, 172, 20%) | #f98eac33 | |
rgb(249, 142, 172, 40%) | #f98eac4C | |
rgb(249, 142, 172, 60%) | #f98eac99 | |
rgb(249, 142, 172, 80%) | #f98eacCC | |
rgb(249, 142, 172, 100%) | #f98eacFF |
Saturated and desaturated colors of #f98eac
HSL Code | Preview |
---|---|
hsl(343, 10%, 77%) | |
hsl(343, 20%, 77%) | |
hsl(343, 40%, 77%) | |
hsl(343, 60%, 77%) | |
hsl(343, 80%, 77%) | |
hsl(343, 100%, 77%) |
#f98eac Color Usage In CSS
body { color: #f98eac; } p { color: rgb(249, 142, 172); } header { border-bottom:1px solid #f98eac; }