#f7486c Color
Color Codes | |
---|---|
Hex Code | #f7486c |
RGB Code | rgb(247, 72, 108) |
HSL Code | hsl(348, 92%, 63%) |
#f7486c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(247, 72, 108); }
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(348, 92%, 63%); }
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 #f7486c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(247, 72, 108, 10%) | #f7486c1a | |
rgb(247, 72, 108, 20%) | #f7486c33 | |
rgb(247, 72, 108, 40%) | #f7486c4C | |
rgb(247, 72, 108, 60%) | #f7486c99 | |
rgb(247, 72, 108, 80%) | #f7486cCC | |
rgb(247, 72, 108, 100%) | #f7486cFF |
Saturated and desaturated colors of #f7486c
HSL Code | Preview |
---|---|
hsl(348, 10%, 63%) | |
hsl(348, 20%, 63%) | |
hsl(348, 40%, 63%) | |
hsl(348, 60%, 63%) | |
hsl(348, 80%, 63%) | |
hsl(348, 100%, 63%) |
#f7486c Color Usage In CSS
body { color: #f7486c; } p { color: rgb(247, 72, 108); } header { border-bottom:1px solid #f7486c; }