#f54bae Color
Color Codes | |
---|---|
Hex Code | #f54bae |
RGB Code | rgb(245, 75, 174) |
HSL Code | hsl(325, 89%, 63%) |
#f54bae Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(245, 75, 174); }
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(325, 89%, 63%); }
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 #f54bae
RGB Code | Hex Code | Preview |
---|---|---|
rgb(245, 75, 174, 10%) | #f54bae1a | |
rgb(245, 75, 174, 20%) | #f54bae33 | |
rgb(245, 75, 174, 40%) | #f54bae4C | |
rgb(245, 75, 174, 60%) | #f54bae99 | |
rgb(245, 75, 174, 80%) | #f54baeCC | |
rgb(245, 75, 174, 100%) | #f54baeFF |
Saturated and desaturated colors of #f54bae
HSL Code | Preview |
---|---|
hsl(325, 10%, 63%) | |
hsl(325, 20%, 63%) | |
hsl(325, 40%, 63%) | |
hsl(325, 60%, 63%) | |
hsl(325, 80%, 63%) | |
hsl(325, 100%, 63%) |
#f54bae Color Usage In CSS
body { color: #f54bae; } p { color: rgb(245, 75, 174); } header { border-bottom:1px solid #f54bae; }