#f702a9 Color
Color Codes | |
---|---|
Hex Code | #f702a9 |
RGB Code | rgb(247, 02, 169) |
HSL Code | hsl(319, 98%, 49%) |
#f702a9 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(247, 02, 169); }
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(319, 98%, 49%); }
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 #f702a9
RGB Code | Hex Code | Preview |
---|---|---|
rgb(247, 02, 169, 10%) | #f702a91a | |
rgb(247, 02, 169, 20%) | #f702a933 | |
rgb(247, 02, 169, 40%) | #f702a94C | |
rgb(247, 02, 169, 60%) | #f702a999 | |
rgb(247, 02, 169, 80%) | #f702a9CC | |
rgb(247, 02, 169, 100%) | #f702a9FF |
Saturated and desaturated colors of #f702a9
HSL Code | Preview |
---|---|
hsl(319, 10%, 49%) | |
hsl(319, 20%, 49%) | |
hsl(319, 40%, 49%) | |
hsl(319, 60%, 49%) | |
hsl(319, 80%, 49%) | |
hsl(319, 100%, 49%) |
#f702a9 Color Usage In CSS
body { color: #f702a9; } p { color: rgb(247, 02, 169); } header { border-bottom:1px solid #f702a9; }