#f70264 Color
Color Codes | |
---|---|
Hex Code | #f70264 |
RGB Code | rgb(247, 02, 100) |
HSL Code | hsl(336, 98%, 49%) |
#f70264 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(247, 02, 100); }
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(336, 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 #f70264
RGB Code | Hex Code | Preview |
---|---|---|
rgb(247, 02, 100, 10%) | #f702641a | |
rgb(247, 02, 100, 20%) | #f7026433 | |
rgb(247, 02, 100, 40%) | #f702644C | |
rgb(247, 02, 100, 60%) | #f7026499 | |
rgb(247, 02, 100, 80%) | #f70264CC | |
rgb(247, 02, 100, 100%) | #f70264FF |
Saturated and desaturated colors of #f70264
HSL Code | Preview |
---|---|
hsl(336, 10%, 49%) | |
hsl(336, 20%, 49%) | |
hsl(336, 40%, 49%) | |
hsl(336, 60%, 49%) | |
hsl(336, 80%, 49%) | |
hsl(336, 100%, 49%) |
#f70264 Color Usage In CSS
body { color: #f70264; } p { color: rgb(247, 02, 100); } header { border-bottom:1px solid #f70264; }