#f24474 Color
Color Codes | |
---|---|
Hex Code | #f24474 |
RGB Code | rgb(242, 68, 116) |
HSL Code | hsl(343, 87%, 61%) |
#f24474 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(242, 68, 116); }
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(343, 87%, 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 #f24474
RGB Code | Hex Code | Preview |
---|---|---|
rgb(242, 68, 116, 10%) | #f244741a | |
rgb(242, 68, 116, 20%) | #f2447433 | |
rgb(242, 68, 116, 40%) | #f244744C | |
rgb(242, 68, 116, 60%) | #f2447499 | |
rgb(242, 68, 116, 80%) | #f24474CC | |
rgb(242, 68, 116, 100%) | #f24474FF |
Saturated and desaturated colors of #f24474
HSL Code | Preview |
---|---|
hsl(343, 10%, 61%) | |
hsl(343, 20%, 61%) | |
hsl(343, 40%, 61%) | |
hsl(343, 60%, 61%) | |
hsl(343, 80%, 61%) | |
hsl(343, 100%, 61%) |
#f24474 Color Usage In CSS
body { color: #f24474; } p { color: rgb(242, 68, 116); } header { border-bottom:1px solid #f24474; }