#f59ec8 Color
Color Codes | |
---|---|
Hex Code | #f59ec8 |
RGB Code | rgb(245, 158, 200) |
HSL Code | hsl(331, 81%, 79%) |
#f59ec8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(245, 158, 200); }
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(331, 81%, 79%); }
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 #f59ec8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(245, 158, 200, 10%) | #f59ec81a | |
rgb(245, 158, 200, 20%) | #f59ec833 | |
rgb(245, 158, 200, 40%) | #f59ec84C | |
rgb(245, 158, 200, 60%) | #f59ec899 | |
rgb(245, 158, 200, 80%) | #f59ec8CC | |
rgb(245, 158, 200, 100%) | #f59ec8FF |
Saturated and desaturated colors of #f59ec8
HSL Code | Preview |
---|---|
hsl(331, 10%, 79%) | |
hsl(331, 20%, 79%) | |
hsl(331, 40%, 79%) | |
hsl(331, 60%, 79%) | |
hsl(331, 80%, 79%) | |
hsl(331, 100%, 79%) |
#f59ec8 Color Usage In CSS
body { color: #f59ec8; } p { color: rgb(245, 158, 200); } header { border-bottom:1px solid #f59ec8; }