#f41539 Color
Color Codes | |
---|---|
Hex Code | #f41539 |
RGB Code | rgb(244, 21, 57) |
HSL Code | hsl(350, 91%, 52%) |
#f41539 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(244, 21, 57); }
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(350, 91%, 52%); }
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 #f41539
RGB Code | Hex Code | Preview |
---|---|---|
rgb(244, 21, 57, 10%) | #f415391a | |
rgb(244, 21, 57, 20%) | #f4153933 | |
rgb(244, 21, 57, 40%) | #f415394C | |
rgb(244, 21, 57, 60%) | #f4153999 | |
rgb(244, 21, 57, 80%) | #f41539CC | |
rgb(244, 21, 57, 100%) | #f41539FF |
Saturated and desaturated colors of #f41539
HSL Code | Preview |
---|---|
hsl(350, 10%, 52%) | |
hsl(350, 20%, 52%) | |
hsl(350, 40%, 52%) | |
hsl(350, 60%, 52%) | |
hsl(350, 80%, 52%) | |
hsl(350, 100%, 52%) |
#f41539 Color Usage In CSS
body { color: #f41539; } p { color: rgb(244, 21, 57); } header { border-bottom:1px solid #f41539; }