#f78c96 Color
Color Codes | |
---|---|
Hex Code | #f78c96 |
RGB Code | rgb(247, 140, 150) |
HSL Code | hsl(354, 87%, 76%) |
#f78c96 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(247, 140, 150); }
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(354, 87%, 76%); }
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 #f78c96
RGB Code | Hex Code | Preview |
---|---|---|
rgb(247, 140, 150, 10%) | #f78c961a | |
rgb(247, 140, 150, 20%) | #f78c9633 | |
rgb(247, 140, 150, 40%) | #f78c964C | |
rgb(247, 140, 150, 60%) | #f78c9699 | |
rgb(247, 140, 150, 80%) | #f78c96CC | |
rgb(247, 140, 150, 100%) | #f78c96FF |
Saturated and desaturated colors of #f78c96
HSL Code | Preview |
---|---|
hsl(354, 10%, 76%) | |
hsl(354, 20%, 76%) | |
hsl(354, 40%, 76%) | |
hsl(354, 60%, 76%) | |
hsl(354, 80%, 76%) | |
hsl(354, 100%, 76%) |
#f78c96 Color Usage In CSS
body { color: #f78c96; } p { color: rgb(247, 140, 150); } header { border-bottom:1px solid #f78c96; }