#f7197b Color
Color Codes | |
---|---|
Hex Code | #f7197b |
RGB Code | rgb(247, 25, 123) |
HSL Code | hsl(334, 93%, 53%) |
#f7197b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(247, 25, 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(334, 93%, 53%); }
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 #f7197b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(247, 25, 123, 10%) | #f7197b1a | |
rgb(247, 25, 123, 20%) | #f7197b33 | |
rgb(247, 25, 123, 40%) | #f7197b4C | |
rgb(247, 25, 123, 60%) | #f7197b99 | |
rgb(247, 25, 123, 80%) | #f7197bCC | |
rgb(247, 25, 123, 100%) | #f7197bFF |
Saturated and desaturated colors of #f7197b
HSL Code | Preview |
---|---|
hsl(334, 10%, 53%) | |
hsl(334, 20%, 53%) | |
hsl(334, 40%, 53%) | |
hsl(334, 60%, 53%) | |
hsl(334, 80%, 53%) | |
hsl(334, 100%, 53%) |
#f7197b Color Usage In CSS
body { color: #f7197b; } p { color: rgb(247, 25, 123); } header { border-bottom:1px solid #f7197b; }