#f55b46 Color
Color Codes | |
---|---|
Hex Code | #f55b46 |
RGB Code | rgb(245, 91, 70) |
HSL Code | hsl(7, 90%, 62%) |
#f55b46 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(245, 91, 70); }
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(7, 90%, 62%); }
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 #f55b46
RGB Code | Hex Code | Preview |
---|---|---|
rgb(245, 91, 70, 10%) | #f55b461a | |
rgb(245, 91, 70, 20%) | #f55b4633 | |
rgb(245, 91, 70, 40%) | #f55b464C | |
rgb(245, 91, 70, 60%) | #f55b4699 | |
rgb(245, 91, 70, 80%) | #f55b46CC | |
rgb(245, 91, 70, 100%) | #f55b46FF |
Saturated and desaturated colors of #f55b46
HSL Code | Preview |
---|---|
hsl(7, 10%, 62%) | |
hsl(7, 20%, 62%) | |
hsl(7, 40%, 62%) | |
hsl(7, 60%, 62%) | |
hsl(7, 80%, 62%) | |
hsl(7, 100%, 62%) |
#f55b46 Color Usage In CSS
body { color: #f55b46; } p { color: rgb(245, 91, 70); } header { border-bottom:1px solid #f55b46; }