#f2567c Color
Color Codes | |
---|---|
Hex Code | #f2567c |
RGB Code | rgb(242, 86, 124) |
HSL Code | hsl(345, 86%, 64%) |
#f2567c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(242, 86, 124); }
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(345, 86%, 64%); }
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 #f2567c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(242, 86, 124, 10%) | #f2567c1a | |
rgb(242, 86, 124, 20%) | #f2567c33 | |
rgb(242, 86, 124, 40%) | #f2567c4C | |
rgb(242, 86, 124, 60%) | #f2567c99 | |
rgb(242, 86, 124, 80%) | #f2567cCC | |
rgb(242, 86, 124, 100%) | #f2567cFF |
Saturated and desaturated colors of #f2567c
HSL Code | Preview |
---|---|
hsl(345, 10%, 64%) | |
hsl(345, 20%, 64%) | |
hsl(345, 40%, 64%) | |
hsl(345, 60%, 64%) | |
hsl(345, 80%, 64%) | |
hsl(345, 100%, 64%) |
#f2567c Color Usage In CSS
body { color: #f2567c; } p { color: rgb(242, 86, 124); } header { border-bottom:1px solid #f2567c; }