#f99fba Color
Color Codes | |
---|---|
Hex Code | #f99fba |
RGB Code | rgb(249, 159, 186) |
HSL Code | hsl(342, 88%, 80%) |
#f99fba Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(249, 159, 186); }
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(342, 88%, 80%); }
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 #f99fba
RGB Code | Hex Code | Preview |
---|---|---|
rgb(249, 159, 186, 10%) | #f99fba1a | |
rgb(249, 159, 186, 20%) | #f99fba33 | |
rgb(249, 159, 186, 40%) | #f99fba4C | |
rgb(249, 159, 186, 60%) | #f99fba99 | |
rgb(249, 159, 186, 80%) | #f99fbaCC | |
rgb(249, 159, 186, 100%) | #f99fbaFF |
Saturated and desaturated colors of #f99fba
HSL Code | Preview |
---|---|
hsl(342, 10%, 80%) | |
hsl(342, 20%, 80%) | |
hsl(342, 40%, 80%) | |
hsl(342, 60%, 80%) | |
hsl(342, 80%, 80%) | |
hsl(342, 100%, 80%) |
#f99fba Color Usage In CSS
body { color: #f99fba; } p { color: rgb(249, 159, 186); } header { border-bottom:1px solid #f99fba; }