#f94b8d Color
Color Codes | |
---|---|
Hex Code | #f94b8d |
RGB Code | rgb(249, 75, 141) |
HSL Code | hsl(337, 94%, 64%) |
#f94b8d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(249, 75, 141); }
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, 94%, 64%); }
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 #f94b8d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(249, 75, 141, 10%) | #f94b8d1a | |
rgb(249, 75, 141, 20%) | #f94b8d33 | |
rgb(249, 75, 141, 40%) | #f94b8d4C | |
rgb(249, 75, 141, 60%) | #f94b8d99 | |
rgb(249, 75, 141, 80%) | #f94b8dCC | |
rgb(249, 75, 141, 100%) | #f94b8dFF |
Saturated and desaturated colors of #f94b8d
HSL Code | Preview |
---|---|
hsl(337, 10%, 64%) | |
hsl(337, 20%, 64%) | |
hsl(337, 40%, 64%) | |
hsl(337, 60%, 64%) | |
hsl(337, 80%, 64%) | |
hsl(337, 100%, 64%) |
#f94b8d Color Usage In CSS
body { color: #f94b8d; } p { color: rgb(249, 75, 141); } header { border-bottom:1px solid #f94b8d; }