#f076fb Color
Color Codes | |
---|---|
Hex Code | #f076fb |
RGB Code | rgb(240, 118, 251) |
HSL Code | hsl(295, 94%, 72%) |
#f076fb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(240, 118, 251); }
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(295, 94%, 72%); }
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 #f076fb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(240, 118, 251, 10%) | #f076fb1a | |
rgb(240, 118, 251, 20%) | #f076fb33 | |
rgb(240, 118, 251, 40%) | #f076fb4C | |
rgb(240, 118, 251, 60%) | #f076fb99 | |
rgb(240, 118, 251, 80%) | #f076fbCC | |
rgb(240, 118, 251, 100%) | #f076fbFF |
Saturated and desaturated colors of #f076fb
HSL Code | Preview |
---|---|
hsl(295, 10%, 72%) | |
hsl(295, 20%, 72%) | |
hsl(295, 40%, 72%) | |
hsl(295, 60%, 72%) | |
hsl(295, 80%, 72%) | |
hsl(295, 100%, 72%) |
#f076fb Color Usage In CSS
body { color: #f076fb; } p { color: rgb(240, 118, 251); } header { border-bottom:1px solid #f076fb; }