#f95492 Color
Color Codes | |
---|---|
Hex Code | #f95492 |
RGB Code | rgb(249, 84, 146) |
HSL Code | hsl(337, 93%, 65%) |
#f95492 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(249, 84, 146); }
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(337, 93%, 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 #f95492
RGB Code | Hex Code | Preview |
---|---|---|
rgb(249, 84, 146, 10%) | #f954921a | |
rgb(249, 84, 146, 20%) | #f9549233 | |
rgb(249, 84, 146, 40%) | #f954924C | |
rgb(249, 84, 146, 60%) | #f9549299 | |
rgb(249, 84, 146, 80%) | #f95492CC | |
rgb(249, 84, 146, 100%) | #f95492FF |
Saturated and desaturated colors of #f95492
HSL Code | Preview |
---|---|
hsl(337, 10%, 65%) | |
hsl(337, 20%, 65%) | |
hsl(337, 40%, 65%) | |
hsl(337, 60%, 65%) | |
hsl(337, 80%, 65%) | |
hsl(337, 100%, 65%) |
#f95492 Color Usage In CSS
body { color: #f95492; } p { color: rgb(249, 84, 146); } header { border-bottom:1px solid #f95492; }