#f56ea8 Color
Color Codes | |
---|---|
Hex Code | #f56ea8 |
RGB Code | rgb(245, 110, 168) |
HSL Code | hsl(334, 87%, 70%) |
#f56ea8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(245, 110, 168); }
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(334, 87%, 70%); }
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 #f56ea8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(245, 110, 168, 10%) | #f56ea81a | |
rgb(245, 110, 168, 20%) | #f56ea833 | |
rgb(245, 110, 168, 40%) | #f56ea84C | |
rgb(245, 110, 168, 60%) | #f56ea899 | |
rgb(245, 110, 168, 80%) | #f56ea8CC | |
rgb(245, 110, 168, 100%) | #f56ea8FF |
Saturated and desaturated colors of #f56ea8
HSL Code | Preview |
---|---|
hsl(334, 10%, 70%) | |
hsl(334, 20%, 70%) | |
hsl(334, 40%, 70%) | |
hsl(334, 60%, 70%) | |
hsl(334, 80%, 70%) | |
hsl(334, 100%, 70%) |
#f56ea8 Color Usage In CSS
body { color: #f56ea8; } p { color: rgb(245, 110, 168); } header { border-bottom:1px solid #f56ea8; }