#f7407b Color
Color Codes | |
---|---|
Hex Code | #f7407b |
RGB Code | rgb(247, 64, 123) |
HSL Code | hsl(341, 92%, 61%) |
#f7407b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(247, 64, 123); }
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(341, 92%, 61%); }
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 #f7407b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(247, 64, 123, 10%) | #f7407b1a | |
rgb(247, 64, 123, 20%) | #f7407b33 | |
rgb(247, 64, 123, 40%) | #f7407b4C | |
rgb(247, 64, 123, 60%) | #f7407b99 | |
rgb(247, 64, 123, 80%) | #f7407bCC | |
rgb(247, 64, 123, 100%) | #f7407bFF |
Saturated and desaturated colors of #f7407b
HSL Code | Preview |
---|---|
hsl(341, 10%, 61%) | |
hsl(341, 20%, 61%) | |
hsl(341, 40%, 61%) | |
hsl(341, 60%, 61%) | |
hsl(341, 80%, 61%) | |
hsl(341, 100%, 61%) |
#f7407b Color Usage In CSS
body { color: #f7407b; } p { color: rgb(247, 64, 123); } header { border-bottom:1px solid #f7407b; }