#f97da1 Color
Color Codes | |
---|---|
Hex Code | #f97da1 |
RGB Code | rgb(249, 125, 161) |
HSL Code | hsl(343, 91%, 73%) |
#f97da1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(249, 125, 161); }
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, 91%, 73%); }
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 #f97da1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(249, 125, 161, 10%) | #f97da11a | |
rgb(249, 125, 161, 20%) | #f97da133 | |
rgb(249, 125, 161, 40%) | #f97da14C | |
rgb(249, 125, 161, 60%) | #f97da199 | |
rgb(249, 125, 161, 80%) | #f97da1CC | |
rgb(249, 125, 161, 100%) | #f97da1FF |
Saturated and desaturated colors of #f97da1
HSL Code | Preview |
---|---|
hsl(343, 10%, 73%) | |
hsl(343, 20%, 73%) | |
hsl(343, 40%, 73%) | |
hsl(343, 60%, 73%) | |
hsl(343, 80%, 73%) | |
hsl(343, 100%, 73%) |
#f97da1 Color Usage In CSS
body { color: #f97da1; } p { color: rgb(249, 125, 161); } header { border-bottom:1px solid #f97da1; }