#f17871 Color
Color Codes | |
---|---|
Hex Code | #f17871 |
RGB Code | rgb(241, 120, 113) |
HSL Code | hsl(3, 82%, 69%) |
#f17871 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(241, 120, 113); }
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(3, 82%, 69%); }
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 #f17871
RGB Code | Hex Code | Preview |
---|---|---|
rgb(241, 120, 113, 10%) | #f178711a | |
rgb(241, 120, 113, 20%) | #f1787133 | |
rgb(241, 120, 113, 40%) | #f178714C | |
rgb(241, 120, 113, 60%) | #f1787199 | |
rgb(241, 120, 113, 80%) | #f17871CC | |
rgb(241, 120, 113, 100%) | #f17871FF |
Saturated and desaturated colors of #f17871
HSL Code | Preview |
---|---|
hsl(3, 10%, 69%) | |
hsl(3, 20%, 69%) | |
hsl(3, 40%, 69%) | |
hsl(3, 60%, 69%) | |
hsl(3, 80%, 69%) | |
hsl(3, 100%, 69%) |
#f17871 Color Usage In CSS
body { color: #f17871; } p { color: rgb(241, 120, 113); } header { border-bottom:1px solid #f17871; }