#f55556 Color
Color Codes | |
---|---|
Hex Code | #f55556 |
RGB Code | rgb(245, 85, 86) |
HSL Code | hsl(360, 89%, 65%) |
#f55556 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(245, 85, 86); }
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(360, 89%, 65%); }
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 #f55556
RGB Code | Hex Code | Preview |
---|---|---|
rgb(245, 85, 86, 10%) | #f555561a | |
rgb(245, 85, 86, 20%) | #f5555633 | |
rgb(245, 85, 86, 40%) | #f555564C | |
rgb(245, 85, 86, 60%) | #f5555699 | |
rgb(245, 85, 86, 80%) | #f55556CC | |
rgb(245, 85, 86, 100%) | #f55556FF |
Saturated and desaturated colors of #f55556
HSL Code | Preview |
---|---|
hsl(360, 10%, 65%) | |
hsl(360, 20%, 65%) | |
hsl(360, 40%, 65%) | |
hsl(360, 60%, 65%) | |
hsl(360, 80%, 65%) | |
hsl(360, 100%, 65%) |
#f55556 Color Usage In CSS
body { color: #f55556; } p { color: rgb(245, 85, 86); } header { border-bottom:1px solid #f55556; }