#f24645 Color
Color Codes | |
---|---|
Hex Code | #f24645 |
RGB Code | rgb(242, 70, 69) |
HSL Code | hsl(0, 87%, 61%) |
#f24645 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(242, 70, 69); }
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(0, 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 #f24645
RGB Code | Hex Code | Preview |
---|---|---|
rgb(242, 70, 69, 10%) | #f246451a | |
rgb(242, 70, 69, 20%) | #f2464533 | |
rgb(242, 70, 69, 40%) | #f246454C | |
rgb(242, 70, 69, 60%) | #f2464599 | |
rgb(242, 70, 69, 80%) | #f24645CC | |
rgb(242, 70, 69, 100%) | #f24645FF |
Saturated and desaturated colors of #f24645
HSL Code | Preview |
---|---|
hsl(0, 10%, 61%) | |
hsl(0, 20%, 61%) | |
hsl(0, 40%, 61%) | |
hsl(0, 60%, 61%) | |
hsl(0, 80%, 61%) | |
hsl(0, 100%, 61%) |
#f24645 Color Usage In CSS
body { color: #f24645; } p { color: rgb(242, 70, 69); } header { border-bottom:1px solid #f24645; }